diff tremor/window_lookup.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 8631a3803289
children
line wrap: on
line diff