diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-15 18:09:14 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:44 +0200 |
commit | 5544c07aabea054590f70ece9af83636c698291c (patch) | |
tree | dbfef1a95dea822d95a38c8b601c23bec436a430 /libmpcodecs/ad_dshow.c | |
parent | 5ed772b9cddc4c0de6762e223428b3e36eceefff (diff) | |
download | mpv-5544c07aabea054590f70ece9af83636c698291c.tar.bz2 mpv-5544c07aabea054590f70ece9af83636c698291c.tar.xz |
cache: Use sigaction() instead of signal()
Signal() has an 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).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31738 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ad_dshow.c')
0 files changed, 0 insertions, 0 deletions