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

Comparing EV/EV/AnyEvent.pm (file contents):
Revision 1.8 by root, Thu Nov 1 16:02:01 2007 UTC vs.
Revision 1.9 by root, Sat Nov 3 09:38:25 2007 UTC

49} 49}
50 50
51sub child { 51sub child {
52 my ($class, %arg) = @_; 52 my ($class, %arg) = @_;
53 53
54 my $cb = $arg{cb};
55
54 EV::child $arg{pid}, $arg{cb} 56 EV::child $arg{pid}, sub {
57 $cb->($_[0]->rpid, $_[0]->rstatus);
58 }
55} 59}
56 60
57sub condvar { 61sub condvar {
58 bless \my $flag, "EV::AnyEvent" 62 bless \my $flag, "EV::AnyEvent"
59} 63}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines