… | |
… | |
68 | package EV; |
68 | package EV; |
69 | |
69 | |
70 | use strict; |
70 | use strict; |
71 | |
71 | |
72 | BEGIN { |
72 | BEGIN { |
73 | our $VERSION = '1.8'; |
73 | our $VERSION = '2.0'; |
74 | use XSLoader; |
74 | use XSLoader; |
75 | XSLoader::load "EV", $VERSION; |
75 | XSLoader::load "EV", $VERSION; |
76 | } |
76 | } |
77 | |
77 | |
78 | @EV::IO::ISA = |
78 | @EV::IO::ISA = |
… | |
… | |
86 | @EV::Check::ISA = |
86 | @EV::Check::ISA = |
87 | @EV::Embed::ISA = |
87 | @EV::Embed::ISA = |
88 | @EV::Fork::ISA = |
88 | @EV::Fork::ISA = |
89 | "EV::Watcher"; |
89 | "EV::Watcher"; |
90 | |
90 | |
|
|
91 | @EV::Loop::Default::ISA = "EV::Loop"; |
|
|
92 | |
91 | =head1 BASIC INTERFACE |
93 | =head1 BASIC INTERFACE |
92 | |
94 | |
93 | =over 4 |
95 | =over 4 |
94 | |
96 | |
95 | =item $EV::DIED |
97 | =item $EV::DIED |
… | |
… | |
494 | |
496 | |
495 | =item $w->again |
497 | =item $w->again |
496 | |
498 | |
497 | Simply stops and starts the watcher again. |
499 | Simply stops and starts the watcher again. |
498 | |
500 | |
|
|
501 | =item $time = $w->at |
|
|
502 | |
|
|
503 | Return the time that the watcher is expected to trigger next. |
|
|
504 | |
499 | =back |
505 | =back |
500 | |
506 | |
501 | |
507 | |
502 | =head3 SIGNAL WATCHERS - signal me when a signal gets signalled! |
508 | =head3 SIGNAL WATCHERS - signal me when a signal gets signalled! |
503 | |
509 | |