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

Subversion daemon svn at videolan.org
Sun Mar 25 11:56:25 CEST 2007


r19441 | courmisch | 2007-03-25 11:56:25 +0200 (Sun, 25 Mar 2007) | 9 lines
Changed paths:
   M /trunk/src/network/io.c
   M /trunk/src/vlc.c

Block SIGCHLD so we don't get polluted by system() in another thread[1]
(though this seem to only happen with debuggers and (?)broken OSes)

[1] system() blocks SIGCHLD, and is probably not intended for multithreading

We cannot assume that blocking calls in other libraries ignore EINTR anyway, 
so the only safe approach is to block in all threads (you can unblock it in
your thread if you really want it) except the signal handling thread.

 > http://trac.videolan.org/vlc/changeset/19441

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list