--- EV/EV.pm 2007/12/03 13:41:24 1.60 +++ EV/EV.pm 2007/12/06 03:13:07 1.61 @@ -755,6 +755,25 @@ =back +=head1 PERL SIGNALS + +While Perl signal handling (C<%SIG>) is not affected by EV, the behaviour +with EV is as the same as any other C library: Perl-signals will only be +handled when Perl runs, which means your signal handler might be invoked +only the next time an event callback is invoked. + +The solution is to use EV signal watchers (see C), which will +ensure proper operations with regards to other event watchers. + +If you cannot do this for whatever reason, you can also force a watcher +to be called on every event loop iteration by installing a C +watcher: + + my $async_check = EV::check sub { }; + +This ensures that perl shortly gets into control for a short time, and +also ensures slower overall operation. + =head1 THREADS Threads are not supported by this module in any way. Perl pseudo-threads