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

Comparing AnyEvent-MP/MP/Base.pm (file contents):
Revision 1.15 by root, Fri Aug 7 22:55:18 2009 UTC vs.
Revision 1.16 by root, Sat Aug 8 00:22:16 2009 UTC

143} 143}
144 144
145sub _ANY_() { 1 } 145sub _ANY_() { 1 }
146sub _any_() { \&_ANY_ } 146sub _any_() { \&_ANY_ }
147 147
148sub TRACE() { 1 } 148sub TRACE() { 0 }
149 149
150sub _inject { 150sub _inject {
151 warn "RCV $SRCNODE->{noderef} -> @_\n" if TRACE;#d# 151 warn "RCV $SRCNODE->{noderef} -> @_\n" if TRACE;#d#
152 &{ $PORT{+shift} or return }; 152 &{ $PORT{+shift} or return };
153} 153}
276 $cv->end; 276 $cv->end;
277 277
278 $cv 278 $cv
279} 279}
280 280
281sub initialise_node($;@) { 281sub initialise_node(@) {
282 my ($noderef, @others) = @_; 282 my ($noderef, @others) = @_;
283 283
284 if ($noderef =~ /^slave\/(.*)$/) { 284 if ($noderef =~ /^slave\/(.*)$/) {
285 $SLAVE = AE::cv; 285 $SLAVE = AE::cv;
286 my $name = $1; 286 my $name = $1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines