ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/EV.pm
(Generate patch)

Comparing EV/EV.pm (file contents):
Revision 1.115 by root, Tue Apr 28 00:50:56 2009 UTC vs.
Revision 1.116 by root, Sat Jun 13 15:11:54 2009 UTC

1044 1044
1045=back 1045=back
1046 1046
1047=head3 ASYNC WATCHERS - how to wake up another event loop 1047=head3 ASYNC WATCHERS - how to wake up another event loop
1048 1048
1049Async watchers are provided by EV, but have little use in perl directly, as perl 1049Async watchers are provided by EV, but have little use in perl directly,
1050neither supports threads nor direct access to signal handlers or other 1050as perl neither supports threads running in parallel nor direct access to
1051contexts where they could be of value. 1051signal handlers or other contexts where they could be of value.
1052 1052
1053It is, however, possible to use them from the XS level. 1053It is, however, possible to use them from the XS level.
1054 1054
1055Please see the libev documentation for further details. 1055Please see the libev documentation for further details.
1056 1056
1084 my $async_check = EV::check sub { }; 1084 my $async_check = EV::check sub { };
1085 1085
1086This ensures that perl gets into control for a short time to handle any 1086This ensures that perl gets into control for a short time to handle any
1087pending signals, and also ensures (slightly) slower overall operation. 1087pending signals, and also ensures (slightly) slower overall operation.
1088 1088
1089=head1 THREADS 1089=head1 ITHREADS
1090 1090
1091Threads are not supported by this module in any way. Perl pseudo-threads 1091Ithreads are not supported by this module in any way. Perl pseudo-threads
1092is evil stuff and must die. As soon as Perl gains real threads I will work 1092is evil stuff and must die. Real threads as provided by Coro are fully
1093on thread support for it. 1093supported (and enhanced support is available via L<Coro::EV>).
1094 1094
1095=head1 FORK 1095=head1 FORK
1096 1096
1097Most of the "improved" event delivering mechanisms of modern operating 1097Most of the "improved" event delivering mechanisms of modern operating
1098systems have quite a few problems with fork(2) (to put it bluntly: it is 1098systems have quite a few problems with fork(2) (to put it bluntly: it is

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines