… | |
… | |
26 | it was available but waiters were still blocked). |
26 | it was available but waiters were still blocked). |
27 | - calling throw on a coroutine that is waiting for a semaphore will |
27 | - calling throw on a coroutine that is waiting for a semaphore will |
28 | no longer make it acquire the semaphore (and thus leak a count). |
28 | no longer make it acquire the semaphore (and thus leak a count). |
29 | - perl's process emulation is now not even theoretically supported |
29 | - perl's process emulation is now not even theoretically supported |
30 | anymore. |
30 | anymore. |
31 | - new functions Coro::rouse_cb and Coro::rouse_wait. |
31 | - new functions Coro::rouse_cb and Coro::rouse_wait for easier |
|
|
32 | conversion of callback-style to blocking-style. |
|
|
33 | - new methods $coro->schedule_to and ->cede_to, to specifically |
|
|
34 | schedule or cede to a specific coroutine. |
32 | - new function Coro::Semaphore::wait. |
35 | - new function Coro::Semaphore::wait. |
33 | - use named constants in Coro::Channel (Richard Hundt). |
36 | - use named constants in Coro::Channel (Richard Hundt). |
34 | - directly patch the entersub opcode calling SLF functions (cede, |
37 | - directly patch the entersub opcode calling SLF functions (cede, |
35 | transfer and so on). this does speed up context switching, but |
38 | transfer and so on). this does speed up context switching, but |
36 | more importanly, it frees us from the hardcoded behaviour of |
39 | more importanly, it frees us from the hardcoded behaviour of |