Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
04b80451
Commit
04b80451
authored
Sep 29, 2002
by
Sam Hocevar
Browse files
* ./src/misc/threads.c: fixed a bug in the st_mutex_new() failure detection.
parent
648f9efd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/threads.c
View file @
04b80451
...
...
@@ -2,7 +2,7 @@
* threads.c : threads implementation for the VideoLAN client
*****************************************************************************
* Copyright (C) 1999, 2000, 2001, 2002 VideoLAN
* $Id: threads.c,v 1.1
6
2002/09/
17 14:56:13
sam Exp $
* $Id: threads.c,v 1.1
7
2002/09/
29 18:16:04
sam Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -244,7 +244,7 @@ int __vlc_mutex_init( vlc_object_t *p_this, vlc_mutex_t *p_mutex )
#elif defined( ST_INIT_IN_ST_H )
p_mutex
->
mutex
=
st_mutex_new
();
return
(
p_mutex
==
NULL
)
?
errno
:
0
;
return
(
p_mutex
->
mutex
==
NULL
)
?
errno
:
0
;
#elif defined( WIN32 )
/* We use mutexes on WinNT/2K/XP because we can use the SignalObjectAndWait
...
...
Write
Preview
Supports
Markdown
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