Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.150 Thread::SemaphoreChapter 8
Standard Modules
Next: 8.152 Thread::Specific

8.151 Thread::Signal

Starts a special signal handler thread to reliably run signal handlers. All signals are handed to this thread, which runs the associated $SIG{signal} handlers for them.

use Thread::Signal;

$SIG{HUP} = handler;

Previous: 8.150 Thread::SemaphorePerl in a NutshellNext: 8.152 Thread::Specific
8.150 Thread::SemaphoreBook Index8.152 Thread::Specific