Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
ca048633
Commit
ca048633
authored
Jul 14, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/misc/threads.c: fixed long standing win32 thread handles leak.
parent
027bb3fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
src/misc/threads.c
src/misc/threads.c
+3
-5
No files found.
src/misc/threads.c
View file @
ca048633
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* threads.c : threads implementation for the VideoLAN client
* threads.c : threads implementation for the VideoLAN client
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2004 VideoLAN
* Copyright (C) 1999-2004 VideoLAN
* $Id
: threads.c,v 1.47 2004/02/22 15:41:27 massiot Exp
$
* $Id$
*
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -706,11 +706,9 @@ void __vlc_thread_join( vlc_object_t *p_this, char * psz_file, int i_line )
...
@@ -706,11 +706,9 @@ void __vlc_thread_join( vlc_object_t *p_this, char * psz_file, int i_line )
#elif defined( ST_INIT_IN_ST_H )
#elif defined( ST_INIT_IN_ST_H )
i_ret
=
st_thread_join
(
p_this
->
thread_id
,
NULL
);
i_ret
=
st_thread_join
(
p_this
->
thread_id
,
NULL
);
#elif defined( UNDER_CE )
#elif defined( UNDER_CE ) || defined( WIN32 )
WaitForSingleObject
(
p_this
->
thread_id
,
INFINITE
);
#elif defined( WIN32 )
WaitForSingleObject
(
p_this
->
thread_id
,
INFINITE
);
WaitForSingleObject
(
p_this
->
thread_id
,
INFINITE
);
CloseHandle
(
p_this
->
thread_id
);
#elif defined( HAVE_KERNEL_SCHEDULER_H )
#elif defined( HAVE_KERNEL_SCHEDULER_H )
int32_t
exit_value
;
int32_t
exit_value
;
...
...
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