--- Coro/Coro.pm 2008/11/20 03:14:49 1.228 +++ Coro/Coro.pm 2008/11/20 06:32:55 1.229 @@ -393,6 +393,25 @@ } } +=item $coroutine->schedule_to + +Puts the current coroutine to sleep (like C), but instead +of continuing with the next coro from the ready queue, always switch to +the given coroutine object (regardless of priority etc.). The readyness +state of that coroutine isn't changed. + +This is an advanced method for special cases - I'd love to hear about any +uses for this one. + +=item $coroutine->cede_to + +Like C, but puts the current coroutine into the ready +queue. This has the effect of temporarily switching to the given +coroutine, and continuing some time later. + +This is an advanced method for special cases - I'd love to hear about any +uses for this one. + =item $coroutine->throw ([$scalar]) If C<$throw> is specified and defined, it will be thrown as an exception