Mercurial > mplayer.hg
comparison libmpdemux/mpeg_hdr.h @ 31672:61eac0d05f20
Use sigaction() instead of signal(), the latter has a unavoidable
race-condition on "broken by backwards-compatibility" systems like Solaris.
(upon receiving a signal, the handler is reset to SIG_DFL, thus a
second signal will kill the process, the problem could also be reduced
by re-installing the handler inside the handler, but there's still a
race-condition and the risk of the handler being called inside the handler).
author | reimar |
---|---|
date | Thu, 15 Jul 2010 18:09:14 +0000 |
parents | 102ae81b5dc8 |
children | 562cd6805eac |
comparison
equal
deleted
inserted
replaced
31671:4541f1921482 | 31672:61eac0d05f20 |
---|