… | |
… | |
3298 | coroutines (e.g. you can call C<ev_loop> on the same loop from two |
3298 | coroutines (e.g. you can call C<ev_loop> on the same loop from two |
3299 | different coroutines and switch freely between both coroutines running the |
3299 | different coroutines and switch freely between both coroutines running the |
3300 | loop, as long as you don't confuse yourself). The only exception is that |
3300 | loop, as long as you don't confuse yourself). The only exception is that |
3301 | you must not do this from C<ev_periodic> reschedule callbacks. |
3301 | you must not do this from C<ev_periodic> reschedule callbacks. |
3302 | |
3302 | |
3303 | Care has been invested into making sure that libev does not keep local |
3303 | Care has been taken to ensure that libev does not keep local state inside |
3304 | state inside C<ev_loop>, and other calls do not usually allow coroutine |
3304 | C<ev_loop>, and other calls do not usually allow coroutine switches. |
3305 | switches. |
|
|
3306 | |
3305 | |
3307 | |
3306 | |
3308 | =head1 COMPLEXITIES |
3307 | =head1 COMPLEXITIES |
3309 | |
3308 | |
3310 | In this section the complexities of (many of) the algorithms used inside |
3309 | In this section the complexities of (many of) the algorithms used inside |