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

Comparing Coro/Coro/Debug.pm (file contents):
Revision 1.40 by root, Wed Oct 24 05:47:14 2007 UTC vs.
Revision 1.41 by root, Mon Dec 3 22:48:06 2007 UTC

414 fh => $fh, 414 fh => $fh,
415 path => $path, 415 path => $path,
416 }, $class; 416 }, $class;
417 417
418 $self->{cw} = AnyEvent->io (fh => $fh, poll => 'r', cb => sub { 418 $self->{cw} = AnyEvent->io (fh => $fh, poll => 'r', cb => sub {
419 my $fh = $fh->accept;
419 Coro::async_pool { 420 Coro::async_pool {
420 $Coro::current->desc ("[Coro::Debug session]"); 421 $Coro::current->desc ("[Coro::Debug session]");
421 session +$fh->accept; 422 session $fh;
422 }; 423 };
423 }); 424 });
424 425
425 $self 426 $self
426} 427}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines