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

Comparing EV/EV.pm (file contents):
Revision 1.13 by root, Tue Oct 30 12:48:29 2007 UTC vs.
Revision 1.15 by root, Wed Oct 31 18:28:00 2007 UTC

81 our $VERSION = '0.03'; 81 our $VERSION = '0.03';
82 use XSLoader; 82 use XSLoader;
83 XSLoader::load "EV", $VERSION; 83 XSLoader::load "EV", $VERSION;
84} 84}
85 85
86@EV::Io::ISA = "EV::Watcher";
87@EV::Time::ISA = "EV::Watcher";
88@EV::Timer::ISA = "EV::Time";
89@EV::Periodic::ISA = "EV::Time";
90@EV::Signal::ISA = "EV::Watcher";
91@EV::Idle::ISA = "EV::Watcher";
92@EV::Prepare::ISA = "EV::Watcher";
93@EV::Check::ISA = "EV::Watcher";
94
86=head1 BASIC INTERFACE 95=head1 BASIC INTERFACE
87 96
88=over 4 97=over 4
89 98
90=item $EV::NPRI 99=item $EV::NPRI
305 314
306our $DIED = sub { 315our $DIED = sub {
307 warn "EV: error in callback (ignoring): $@"; 316 warn "EV: error in callback (ignoring): $@";
308}; 317};
309 318
310our $NPRI = 4; 319init;
311our $BASE = init;
312priority_init $NPRI;
313 320
314push @AnyEvent::REGISTRY, [EV => "EV::AnyEvent"]; 321push @AnyEvent::REGISTRY, [EV => "EV::AnyEvent"];
315 322
3161; 3231;
317 324

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines