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

Comparing AnyEvent-MP/MP/Kernel.pm (file contents):
Revision 1.13 by root, Sat Aug 15 02:36:03 2009 UTC vs.
Revision 1.14 by root, Sat Aug 15 04:12:38 2009 UTC

344 $node->{trial}{accept} = $tp; 344 $node->{trial}{accept} = $tp;
345 }, 345 },
346 ; 346 ;
347 } 347 }
348 348
349 connect_node $_ for @others; 349 for (@others) {
350 my $node = add_node $_;
351 $node->{autoconnect} = 1;
352 $node->connect;
353 }
350 354
351 if ($SLAVE) { 355 if ($SLAVE) {
352 my $timeout = AE::timer $MONITOR_TIMEOUT, 0, sub { $SLAVE->() }; 356 my $timeout = AE::timer $MONITOR_TIMEOUT, 0, sub { $SLAVE->() };
353 my $master = $SLAVE->recv; 357 my $master = $SLAVE->recv;
354 $master 358 $master

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines