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

Comparing Coro/Coro.pm (file contents):
Revision 1.150 by root, Sat Oct 6 01:11:01 2007 UTC vs.
Revision 1.151 by root, Sat Oct 6 19:25:00 2007 UTC

50 50
51our $idle; # idle handler 51our $idle; # idle handler
52our $main; # main coroutine 52our $main; # main coroutine
53our $current; # current coroutine 53our $current; # current coroutine
54 54
55our $VERSION = '4.02'; 55our $VERSION = '4.03';
56 56
57our @EXPORT = qw(async async_pool cede schedule terminate current unblock_sub); 57our @EXPORT = qw(async async_pool cede schedule terminate current unblock_sub);
58our %EXPORT_TAGS = ( 58our %EXPORT_TAGS = (
59 prio => [qw(PRIO_MAX PRIO_HIGH PRIO_NORMAL PRIO_LOW PRIO_IDLE PRIO_MIN)], 59 prio => [qw(PRIO_MAX PRIO_HIGH PRIO_NORMAL PRIO_LOW PRIO_IDLE PRIO_MIN)],
60); 60);
255 _pool_2 $cb; 255 _pool_2 $cb;
256 &schedule; 256 &schedule;
257 } 257 }
258 }; 258 };
259 259
260 last if $@ eq "\3terminate\2\n"; 260 last if $@ eq "\3async_pool terminate\2\n";
261 warn $@ if $@; 261 warn $@ if $@;
262 } 262 }
263} 263}
264 264
265sub async_pool(&@) { 265sub async_pool(&@) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines