… | |
… | |
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 |
… | |
… | |
53 | - implement Coro::Channel in terms of Coro::Semaphore, for a moderate |
56 | - implement Coro::Channel in terms of Coro::Semaphore, for a moderate |
54 | (in comparison) 20-40% speedup. |
57 | (in comparison) 20-40% speedup. |
55 | - used new SLF interface to reimplement Coro::Signal gaining |
58 | - used new SLF interface to reimplement Coro::Signal gaining |
56 | some unknown (because I was too lazy), but certain, speedup, and also |
59 | some unknown (because I was too lazy), but certain, speedup, and also |
57 | making signals reliable for the first time. |
60 | making signals reliable for the first time. |
|
|
61 | - used new SLF interface and other optimisations to speed up async_pool |
|
|
62 | by a factor of two. It also doesn't rely on perl's exception mechanism |
|
|
63 | to exit anymore. The overhead for terminating an async_pool, coro over |
|
|
64 | a normal async is now very small. |
58 | - sped up coroutine creation/destruction by 40%. |
65 | - sped up coroutine creation/destruction by 40%. |
59 | - forgot to include Coro/libcoro/README in the dist for all these years. |
66 | - forgot to include Coro/libcoro/README in the dist for all these years. |
60 | - work around a freebsd pthreads bug (manual testcancel is required as |
67 | - work around a freebsd pthreads bug (manual testcancel is required as |
61 | pthread_cond_wait isn't a cancellation point on freebsd). |
68 | pthread_cond_wait isn't a cancellation point on freebsd). |
62 | - use new rouse functions to speed up and simplify Coro::BDB. |
69 | - use new rouse functions to speed up and simplify Coro::BDB. |