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

Comparing EV/EV.pm (file contents):
Revision 1.77 by root, Sat Dec 22 11:44:50 2007 UTC vs.
Revision 1.78 by root, Sat Dec 22 11:50:04 2007 UTC

333Feed some events on this watcher into EV. EV will react to this call as if 333Feed some events on this watcher into EV. EV will react to this call as if
334the watcher had received the given C<$revents> mask. 334the watcher had received the given C<$revents> mask.
335 335
336=item $revents = $w->clear_pending 336=item $revents = $w->clear_pending
337 337
338If the watcher is pending, this function returns clears its pending status 338If the watcher is pending, this function clears its pending status and
339and returns its C<$revents> bitset (as if its callback was invoked). If the 339returns its C<$revents> bitset (as if its callback was invoked). If the
340watcher isn't pending it does nothing and returns C<0>. 340watcher isn't pending it does nothing and returns C<0>.
341 341
342=item $previous_state = $w->keepalive ($bool) 342=item $previous_state = $w->keepalive ($bool)
343 343
344Normally, C<EV::loop> will return when there are no active watchers 344Normally, C<EV::loop> will return when there are no active watchers

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines