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

Comparing Coro/Coro.pm (file contents):
Revision 1.103 by root, Thu Jan 4 20:14:19 2007 UTC vs.
Revision 1.104 by root, Thu Jan 4 23:49:27 2007 UTC

198 } 1,2,3,4; 198 } 1,2,3,4;
199 199
200=cut 200=cut
201 201
202sub async(&@) { 202sub async(&@) {
203 my $pid = new Coro @_; 203 my $coro = new Coro @_;
204 $pid->ready; 204 $coro->ready;
205 $pid 205 $coro
206} 206}
207 207
208=item schedule 208=item schedule
209 209
210Calls the scheduler. Please note that the current coroutine will not be put 210Calls the scheduler. Please note that the current coroutine will not be put

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines