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

Comparing Coro/Coro.pm (file contents):
Revision 1.320 by root, Mon Nov 18 10:27:53 2013 UTC vs.
Revision 1.321 by root, Sun Feb 2 03:26:06 2014 UTC

914that is, after it's resources have been freed but before it is joined. The 914that is, after it's resources have been freed but before it is joined. The
915callback gets passed the terminate/cancel arguments, if any, and I<must 915callback gets passed the terminate/cancel arguments, if any, and I<must
916not> die, under any circumstances. 916not> die, under any circumstances.
917 917
918There can be any number of C<on_destroy> callbacks per coro, and there is 918There can be any number of C<on_destroy> callbacks per coro, and there is
919no way currently to remove a callback once added. 919currently no way to remove a callback once added.
920 920
921=item $oldprio = $coro->prio ($newprio) 921=item $oldprio = $coro->prio ($newprio)
922 922
923Sets (or gets, if the argument is missing) the priority of the 923Sets (or gets, if the argument is missing) the priority of the
924coro thread. Higher priority coro get run before lower priority 924coro thread. Higher priority coro get run before lower priority

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines