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.53 by root, Tue Feb 28 18:37:24 2012 UTC vs.
Revision 1.54 by root, Wed Feb 29 18:44:59 2012 UTC

131 131
132 unless (@addresses) { 132 unless (@addresses) {
133 # on global nodes, all betsa re off now - we either know the node, or we don't 133 # on global nodes, all betsa re off now - we either know the node, or we don't
134 unless ($AnyEvent::MP::Kernel::GLOBAL) { 134 unless ($AnyEvent::MP::Kernel::GLOBAL) {
135 $self->{connect_w} = AnyEvent::MP::Kernel::global_req ( 135 $self->{connect_w} = AnyEvent::MP::Kernel::global_req (
136 global_find => $self->{id}, 136 g_find => $self->{id},
137 sub { 137 sub {
138 return unless $self; # just to be sure 138 return unless $self; # just to be sure
139 return unless @{ $_[0] }; 139 return unless @{ $_[0] };
140 140
141 local $AnyEvent::MP::Kernel::GLOBAL_ADDR->{$self->{id}} = $_[0]; #d# UGLY 141 local $AnyEvent::MP::Kernel::GLOBAL_ADDR->{$self->{id}} = $_[0]; #d# UGLY

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines