Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
17125cc6
Commit
17125cc6
authored
Mar 12, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shut a few unused parameters for Windows compiling.
parent
e6b20aa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/misc/threads.c
src/misc/threads.c
+10
-0
No files found.
src/misc/threads.c
View file @
17125cc6
...
@@ -378,9 +378,13 @@ int __vlc_mutex_init_recursive( vlc_mutex_t *p_mutex )
...
@@ -378,9 +378,13 @@ int __vlc_mutex_init_recursive( vlc_mutex_t *p_mutex )
void
__vlc_mutex_destroy
(
const
char
*
psz_file
,
int
i_line
,
vlc_mutex_t
*
p_mutex
)
void
__vlc_mutex_destroy
(
const
char
*
psz_file
,
int
i_line
,
vlc_mutex_t
*
p_mutex
)
{
{
#if defined( UNDER_CE )
#if defined( UNDER_CE )
VLC_UNUSED
(
psz_file
);
VLC_UNUSED
(
i_line
);
DeleteCriticalSection
(
&
p_mutex
->
csection
);
DeleteCriticalSection
(
&
p_mutex
->
csection
);
#elif defined( WIN32 )
#elif defined( WIN32 )
VLC_UNUSED
(
psz_file
);
VLC_UNUSED
(
i_line
);
if
(
p_mutex
->
mutex
)
if
(
p_mutex
->
mutex
)
CloseHandle
(
p_mutex
->
mutex
);
CloseHandle
(
p_mutex
->
mutex
);
else
else
...
@@ -499,9 +503,13 @@ int __vlc_cond_init( vlc_cond_t *p_condvar )
...
@@ -499,9 +503,13 @@ int __vlc_cond_init( vlc_cond_t *p_condvar )
void
__vlc_cond_destroy
(
const
char
*
psz_file
,
int
i_line
,
vlc_cond_t
*
p_condvar
)
void
__vlc_cond_destroy
(
const
char
*
psz_file
,
int
i_line
,
vlc_cond_t
*
p_condvar
)
{
{
#if defined( UNDER_CE )
#if defined( UNDER_CE )
VLC_UNUSED
(
psz_file
);
VLC_UNUSED
(
i_line
);
CloseHandle
(
p_condvar
->
event
);
CloseHandle
(
p_condvar
->
event
);
#elif defined( WIN32 )
#elif defined( WIN32 )
VLC_UNUSED
(
psz_file
);
VLC_UNUSED
(
i_line
);
if
(
!
p_condvar
->
semaphore
)
if
(
!
p_condvar
->
semaphore
)
CloseHandle
(
p_condvar
->
event
);
CloseHandle
(
p_condvar
->
event
);
else
else
...
@@ -684,6 +692,8 @@ int __vlc_thread_set_priority( vlc_object_t *p_this, const char * psz_file,
...
@@ -684,6 +692,8 @@ int __vlc_thread_set_priority( vlc_object_t *p_this, const char * psz_file,
{
{
vlc_object_internals_t
*
p_priv
=
p_this
->
p_internals
;
vlc_object_internals_t
*
p_priv
=
p_this
->
p_internals
;
#if defined( WIN32 ) || defined( UNDER_CE )
#if defined( WIN32 ) || defined( UNDER_CE )
VLC_UNUSED
(
psz_file
);
VLC_UNUSED
(
i_line
);
if
(
!
p_priv
->
thread_id
.
hThread
)
if
(
!
p_priv
->
thread_id
.
hThread
)
p_priv
->
thread_id
.
hThread
=
GetCurrentThread
();
p_priv
->
thread_id
.
hThread
=
GetCurrentThread
();
if
(
!
SetThreadPriority
(
p_priv
->
thread_id
.
hThread
,
i_priority
)
)
if
(
!
SetThreadPriority
(
p_priv
->
thread_id
.
hThread
,
i_priority
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment