ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/MP/Node.pm
(Generate patch)

Comparing AnyEvent-MP/MP/Node.pm (file contents):
Revision 1.44 by root, Fri Oct 2 20:40:10 2009 UTC vs.
Revision 1.45 by root, Mon Oct 5 19:26:32 2009 UTC

263 263
264 # we _always_ delay kil's, to avoid calling mon callbacks 264 # we _always_ delay kil's, to avoid calling mon callbacks
265 # from anything but the event loop context. 265 # from anything but the event loop context.
266 $DELAY = 1; 266 $DELAY = 1;
267 push @DELAY, $delay_cb; 267 push @DELAY, $delay_cb;
268 $DELAY_W ||= AE::timer 0, 0, \&_send_delayed;
268} 269}
269 270
270sub monitor { 271sub monitor {
271 my ($self, $portid, $cb) = @_; 272 my ($self, $portid, $cb) = @_;
272 273

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines