… | |
… | |
131 | |
131 | |
132 | The default implementation dies with "FATAL: deadlock detected.", followed |
132 | The default implementation dies with "FATAL: deadlock detected.", followed |
133 | by a thread listing, because the program has no other way to continue. |
133 | by a thread listing, because the program has no other way to continue. |
134 | |
134 | |
135 | This hook is overwritten by modules such as C<Coro::EV> and |
135 | This hook is overwritten by modules such as C<Coro::EV> and |
136 | C<Coro::AnyEvent> to wait on an external event that hopefully wake up a |
136 | C<Coro::AnyEvent> to wait on an external event that hopefully wakes up a |
137 | coro so the scheduler can run it. |
137 | coro so the scheduler can run it. |
138 | |
138 | |
139 | See L<Coro::EV> or L<Coro::AnyEvent> for examples of using this technique. |
139 | See L<Coro::EV> or L<Coro::AnyEvent> for examples of using this technique. |
140 | |
140 | |
141 | =cut |
141 | =cut |