… | |
… | |
680 | =item coroutine switching not signal safe |
680 | =item coroutine switching not signal safe |
681 | |
681 | |
682 | You must not switch to another coroutine from within a signal handler |
682 | You 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 | |
685 | That means you I<MUST NOT> call any fucntion that might "block" the |
685 | That means you I<MUST NOT> call any function that might "block" the |
686 | current coroutine - C<cede>, C<schedule> C<< Coro::Semaphore->down >> or |
686 | current coroutine - C<cede>, C<schedule> C<< Coro::Semaphore->down >> or |
687 | anything that calls those. Everything else, including calling C<ready>, |
687 | anything that calls those. Everything else, including calling C<ready>, |
688 | works. |
688 | works. |
689 | |
689 | |
690 | =back |
690 | =back |