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

Comparing Coro/Coro.pm (file contents):
Revision 1.271 by root, Fri Oct 2 19:55:59 2009 UTC vs.
Revision 1.272 by root, Tue Nov 24 06:13:01 2009 UTC

830the windows process emulation enabled under unix roughly halves perl 830the windows process emulation enabled under unix roughly halves perl
831performance, even when not used. 831performance, even when not used.
832 832
833=item coro switching is not signal safe 833=item coro switching is not signal safe
834 834
835You must not switch to another coro from within a signal handler 835You must not switch to another coro from within a signal handler (only
836(only relevant with %SIG - most event libraries provide safe signals). 836relevant with %SIG - most event libraries provide safe signals), I<unless>
837you are sure you are not interrupting a Coro function.
837 838
838That means you I<MUST NOT> call any function that might "block" the 839That means you I<MUST NOT> call any function that might "block" the
839current coro - C<cede>, C<schedule> C<< Coro::Semaphore->down >> or 840current coro - C<cede>, C<schedule> C<< Coro::Semaphore->down >> or
840anything that calls those. Everything else, including calling C<ready>, 841anything that calls those. Everything else, including calling C<ready>,
841works. 842works.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines