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.4 by root, Mon Oct 29 07:56:03 2007 UTC vs.
Revision 1.5 by root, Mon Oct 29 07:57:16 2007 UTC

40 sub { 40 sub {
41 $cb->( ($_[1] & EV::READ ? "r" : "") . ($_[1] & EV::WRITE ? "w" : "") ); 41 $cb->( ($_[1] & EV::READ ? "r" : "") . ($_[1] & EV::WRITE ? "w" : "") );
42 } 42 }
43} 43}
44 44
45#sub signal { 45sub signal {
46# my ($class, %arg) = @_; 46 my ($class, %arg) = @_;
47# 47
48# EV::timer $arg{after}, 0, $arg{cb} 48 EV::signal $arg{signal}, $arg{cb}
49#}#d#TODO 49}
50 50
51sub condvar { 51sub condvar {
52 bless \my $flag, "EV::AnyEvent" 52 bless \my $flag, "EV::AnyEvent"
53} 53}
54 54

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines