… | |
… | |
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 |