I've just read Leon Timmermans' article What you should know about signal based timeouts and I was wondering how it/if it applies to the use of Sys::SigAction::timeout_call()
.
1) First of all, it seems that timeout_call()
uses longjmp
and unsafe signals, and therefore CERT Secure Coding rule SIG32-C is applicable.
2) Is timeout_call
safe to use if the code being monitored for timeouts only contains pure-perl code (i.e. no calls to XS modules)?