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

Comparing EV/EV.pm (file contents):
Revision 1.114 by root, Wed Apr 15 19:35:53 2009 UTC vs.
Revision 1.117 by root, Tue Jul 14 00:09:59 2009 UTC

76 76
77=cut 77=cut
78 78
79package EV; 79package EV;
80 80
81no warnings; 81use common::sense;
82use strict;
83 82
84BEGIN { 83BEGIN {
85 our $VERSION = '3.53'; 84 our $VERSION = '3.6';
86 use XSLoader; 85 use XSLoader;
87 XSLoader::load "EV", $VERSION; 86 XSLoader::load "EV", $VERSION;
88} 87}
89 88
90@EV::IO::ISA = 89@EV::IO::ISA =
1044 1043
1045=back 1044=back
1046 1045
1047=head3 ASYNC WATCHERS - how to wake up another event loop 1046=head3 ASYNC WATCHERS - how to wake up another event loop
1048 1047
1049Async watchers are provided by EV, but have little use in perl directly, as perl 1048Async watchers are provided by EV, but have little use in perl directly,
1050neither supports threads nor direct access to signal handlers or other 1049as perl neither supports threads running in parallel nor direct access to
1051contexts where they could be of value. 1050signal handlers or other contexts where they could be of value.
1052 1051
1053It is, however, possible to use them from the XS level. 1052It is, however, possible to use them from the XS level.
1054 1053
1055Please see the libev documentation for further details. 1054Please see the libev documentation for further details.
1056 1055
1084 my $async_check = EV::check sub { }; 1083 my $async_check = EV::check sub { };
1085 1084
1086This ensures that perl gets into control for a short time to handle any 1085This ensures that perl gets into control for a short time to handle any
1087pending signals, and also ensures (slightly) slower overall operation. 1086pending signals, and also ensures (slightly) slower overall operation.
1088 1087
1089=head1 THREADS 1088=head1 ITHREADS
1090 1089
1091Threads are not supported by this module in any way. Perl pseudo-threads 1090Ithreads 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 1091is evil stuff and must die. Real threads as provided by Coro are fully
1093on thread support for it. 1092supported (and enhanced support is available via L<Coro::EV>).
1094 1093
1095=head1 FORK 1094=head1 FORK
1096 1095
1097Most of the "improved" event delivering mechanisms of modern operating 1096Most of the "improved" event delivering mechanisms of modern operating
1098systems have quite a few problems with fork(2) (to put it bluntly: it is 1097systems have quite a few problems with fork(2) (to put it bluntly: it is

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines