[vlc-devel] vlc: svn commit r24730 (courmisch)

Rémi Denis-Courmont rdenis at simphalempin.com
Thu Jan 31 19:44:07 CET 2008


Le Thursday 31 January 2008 20:38:06 Subversion daemon, vous avez écrit :
> r24730 | courmisch | 2008-01-31 19:38:06 +0100 (Thu, 31 Jan 2008) | 3 lines
> Changed paths:
>    M /trunk/src/misc/messages.c
>
> Allocate message queues mutexes against NULL instead of an object.
> This avoids an infinite recursion if vlc_mutex_* fails (calls msg_Err).

IMHO, we should always print the threading error directly to stderr rather 
than use the message subsystem anyway. This limits the risk of loosing the 
message due to a bug side-effect into the message subsystem itself.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080131/c8d1c54c/attachment.sig>


More information about the vlc-devel mailing list