ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/myhttpd/queue.pl
(Generate patch)

Comparing Coro/myhttpd/queue.pl (file contents):
Revision 1.6 by root, Thu Feb 4 22:35:47 2010 UTC vs.
Revision 1.7 by root, Sat Aug 13 23:42:05 2011 UTC

13 my $self = bless { 13 my $self = bless {
14 slots => $_[0], 14 slots => $_[0],
15 lastspb => 0, 15 lastspb => 0,
16 avgspb => 0, 16 avgspb => 0,
17 }, $class; 17 }, $class;
18 $self->{reschedule} = EV::timer 10, 3, sub { $self->wake_next }; 18 $self->{reschedule} = AE::timer 10, 3, sub { $self->wake_next };
19 $self; 19 $self;
20} 20}
21 21
22sub start_transfer { 22sub start_transfer {
23 my $self = shift; 23 my $self = shift;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines