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

Comparing AnyEvent-MP/MP/Global.pm (file contents):
Revision 1.18 by root, Sun Aug 30 17:08:16 2009 UTC vs.
Revision 1.19 by root, Wed Sep 2 13:05:29 2009 UTC

88sub set_seeds(@) { 88sub set_seeds(@) {
89 @SEEDS = @_; 89 @SEEDS = @_;
90 90
91 $SEED_WATCHER ||= AE::timer 5, $AnyEvent::MP::Kernel::MONITOR_TIMEOUT, \&more_seeding; 91 $SEED_WATCHER ||= AE::timer 5, $AnyEvent::MP::Kernel::MONITOR_TIMEOUT, \&more_seeding;
92 92
93 seed_connect $_ 93 for my $seed (@SEEDS) {
94 for @SEEDS; 94 after 0.100 * rand, sub { seed_connect $seed };
95 }
95} 96}
96 97
97############################################################################# 98#############################################################################
98 99
99sub unreg_groups($) { 100sub unreg_groups($) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines