]> git.sesse.net Git - vlc/commit
Don't block all signals.
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 12 Jun 2008 17:40:23 +0000 (20:40 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 12 Jun 2008 17:40:23 +0000 (20:40 +0300)
commit566d7d2fc459ca6047acbf3194275ce780c8190c
tree518d44c3e1e7ba185e950bfb558915b67d8ea0fa
parent0ad8477b20fb8400808a7fd6148684f0960c0403
Don't block all signals.

Some (buggy?) thread implementations use RT signals internally...
The handling of SIGPIPE remains somewhat problematic. We should probably
use MSG_NOSIGNAL when writing to sockets, but this does not work when
dealing with pipes/FIFOs or writing to sockets using write(). In
particular, net_Write uses write() so that it can be used on non-socket
descriptors too (I believe this is used by the RC interface).
src/misc/threads.c