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

Comparing Coro/Coro.pm (file contents):
Revision 1.220 by root, Sun Nov 16 11:12:57 2008 UTC vs.
Revision 1.221 by root, Tue Nov 18 05:51:38 2008 UTC

680=item coroutine switching not signal safe 680=item coroutine switching not signal safe
681 681
682You must not switch to another coroutine from within a signal handler 682You must not switch to another coroutine from within a signal handler
683(only relevant with %SIG - most event libraries provide safe signals). 683(only relevant with %SIG - most event libraries provide safe signals).
684 684
685That means you I<MUST NOT> call any fucntion that might "block" the 685That means you I<MUST NOT> call any function that might "block" the
686current coroutine - C<cede>, C<schedule> C<< Coro::Semaphore->down >> or 686current coroutine - C<cede>, C<schedule> C<< Coro::Semaphore->down >> or
687anything that calls those. Everything else, including calling C<ready>, 687anything that calls those. Everything else, including calling C<ready>,
688works. 688works.
689 689
690=back 690=back

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines