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

Comparing Coro/Coro.pm (file contents):
Revision 1.2 by root, Tue Jul 3 03:40:07 2001 UTC vs.
Revision 1.4 by root, Tue Jul 3 05:05:45 2001 UTC

1=head1 NAME 1=head1 NAME
2 2
3Coro - create an manage coroutines 3Coro - create and manage coroutines
4 4
5=head1 SYNOPSIS 5=head1 SYNOPSIS
6 6
7 use Coro; 7 use Coro;
8 8
90 eval { &$proc->resume }; 90 eval { &$proc->resume };
91 if ($@) { 91 if ($@) {
92 ($error_msg, $error_coro) = ($@, $current); 92 ($error_msg, $error_coro) = ($@, $current);
93 $error->resume; 93 $error->resume;
94 } 94 }
95 } while (); 95 } while (1);
96 }, $class; 96 }, $class;
97} 97}
98 98
99=item $coro->resume 99=item $coro->resume
100 100

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines