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

Comparing Coro/Coro.pm (file contents):
Revision 1.352 by root, Sun May 12 04:54:22 2019 UTC vs.
Revision 1.353 by root, Fri Jul 19 15:29:46 2019 UTC

366 366
367our $idle; # idle handler 367our $idle; # idle handler
368our $main; # main coro 368our $main; # main coro
369our $current; # current coro 369our $current; # current coro
370 370
371our $VERSION = 6.54; 371our $VERSION = 6.55;
372 372
373our @EXPORT = qw(async async_pool cede schedule terminate current unblock_sub rouse_cb rouse_wait); 373our @EXPORT = qw(async async_pool cede schedule terminate current unblock_sub rouse_cb rouse_wait);
374our %EXPORT_TAGS = ( 374our %EXPORT_TAGS = (
375 prio => [qw(PRIO_MAX PRIO_HIGH PRIO_NORMAL PRIO_LOW PRIO_IDLE PRIO_MIN)], 375 prio => [qw(PRIO_MAX PRIO_HIGH PRIO_NORMAL PRIO_LOW PRIO_IDLE PRIO_MIN)],
376); 376);
1114 1114
1115 # some modules have their new predefined in State.xs, some don't 1115 # some modules have their new predefined in State.xs, some don't
1116 *{"Coro::$module\::new"} = $old 1116 *{"Coro::$module\::new"} = $old
1117 if $old; 1117 if $old;
1118 1118
1119 goto &{"Coro::$module\::new"}; 1119 goto &{"Coro::$module\::new"}
1120 }; 1120 };
1121} 1121}
1122 1122
11231; 11231;
1124 1124

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines