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

Comparing EV/EV.pm (file contents):
Revision 1.17 by root, Wed Oct 31 21:34:45 2007 UTC vs.
Revision 1.18 by root, Thu Nov 1 08:10:03 2007 UTC

84 our $VERSION = '0.03'; 84 our $VERSION = '0.03';
85 use XSLoader; 85 use XSLoader;
86 XSLoader::load "EV", $VERSION; 86 XSLoader::load "EV", $VERSION;
87} 87}
88 88
89@EV::Io::ISA = "EV::Watcher"; 89@EV::Io::ISA =
90@EV::Time::ISA = "EV::Watcher";
91@EV::Timer::ISA = "EV::Time"; 90@EV::Timer::ISA =
92@EV::Periodic::ISA = "EV::Time"; 91@EV::Periodic::ISA =
93@EV::Signal::ISA = "EV::Watcher"; 92@EV::Signal::ISA =
94@EV::Idle::ISA = "EV::Watcher"; 93@EV::Idle::ISA =
95@EV::Prepare::ISA = "EV::Watcher"; 94@EV::Prepare::ISA =
96@EV::Check::ISA = "EV::Watcher"; 95@EV::Check::ISA =
97@EV::Child::ISA = "EV::Watcher"; 96@EV::Child::ISA = "EV::Watcher";
98 97
99=head1 BASIC INTERFACE 98=head1 BASIC INTERFACE
100 99
101=over 4 100=over 4
299=head1 THREADS 298=head1 THREADS
300 299
301Threads are not supported by this in any way. Perl pseudo-threads is evil 300Threads are not supported by this in any way. Perl pseudo-threads is evil
302and must die. 301and must die.
303 302
304=head1 BUGS
305
306Lots. Libevent itself isn't well tested and rather buggy, and this module
307is quite new at the moment.
308
309Please note that the epoll method is not, in general, reliable in programs
310that use fork (even if no libveent calls are being made in the forked
311process). If your program behaves erratically, try setting the environment
312variable C<EVENT_NOEPOLL> first when running the program.
313
314In general, if you fork, then you can only use the EV module in one of the
315children.
316
317=cut 303=cut
318 304
319our $DIED = sub { 305our $DIED = sub {
320 warn "EV: error in callback (ignoring): $@"; 306 warn "EV: error in callback (ignoring): $@";
321}; 307};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines