… | |
… | |
785 | |
785 | |
786 | It is, however, possible to use them from the XS level. |
786 | It is, however, possible to use them from the XS level. |
787 | |
787 | |
788 | Please see the libev documentation for further details. |
788 | Please see the libev documentation for further details. |
789 | |
789 | |
|
|
790 | $w = EV::async $callback |
|
|
791 | $w = EV::async_ns $callback |
|
|
792 | $w->send |
|
|
793 | $bool = $w->async_pending |
|
|
794 | |
790 | PERL SIGNALS |
795 | PERL SIGNALS |
791 | While Perl signal handling (%SIG) is not affected by EV, the behaviour |
796 | While Perl signal handling (%SIG) is not affected by EV, the behaviour |
792 | with EV is as the same as any other C library: Perl-signals will only be |
797 | with EV is as the same as any other C library: Perl-signals will only be |
793 | handled when Perl runs, which means your signal handler might be invoked |
798 | handled when Perl runs, which means your signal handler might be invoked |
794 | only the next time an event callback is invoked. |
799 | only the next time an event callback is invoked. |