comparison stream/tvi_v4l2.c @ 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 016194f71de3
children 64ba1daa147a
comparison
equal deleted inserted replaced
31671:4541f1921482 31672:61eac0d05f20