ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Changes
(Generate patch)

Comparing Coro/Changes (file contents):
Revision 1.688 by root, Sat Jul 25 22:19:30 2020 UTC vs.
Revision 1.692 by root, Fri Jun 25 01:13:20 2021 UTC

8TODO: how to debug safe_cancel failure (vebrose mode? show how to make backtrace?) 8TODO: how to debug safe_cancel failure (vebrose mode? show how to make backtrace?)
9TODO: scalar context for Coro::AIO wrappers? 9TODO: scalar context for Coro::AIO wrappers?
10 10
11TODO: State.xs could short-circuit some macros such as CORO_EXECUTE_SLF 11TODO: State.xs could short-circuit some macros such as CORO_EXECUTE_SLF
12TODO: use frame->destroy to improve Coro::EV 12TODO: use frame->destroy to improve Coro::EV
136.57 13
14TODO: concurrent ->recv on same condvar
15sub Coro::AnyEvent::CondVar::_send {
16 if ($_[0]{_ae_coro}) {
17 $_->ready
18 for values %{ delete $_[0]{_ae_coro} }
19 }
20};
21
22sub Coro::AnyEvent::CondVar::_wait {
23 until ($_[0]{_ae_sent}) {
24 $AnyEvent::CondVar::Base::WAITING = 0; # avoid recursive check by AnyEvent
25 local $_[0]{_ae_coro}{$Coro::current+0} = $Coro::current;
26 Coro::schedule;
27 }
28};
29
30 - potential fix for an interetsing type of recursive coro
31 destruction (testcase by Christopher J. Madsen).
32
336.57 Wed Jul 29 15:08:44 CEST 2020
14 - override AnyEvent condvar methods "properly", as AnyEvent 34 - override AnyEvent condvar methods "properly", as AnyEvent
15 has support for pluggable condvars since 2011... 35 has support for pluggable condvars since 2011. This also
36 avoids problems with recursive waits by avoiding to mix
37 impl methods with coro code.
16 - allow rouse_wait to be called in a different thread. 38 - allow rouse_wait to be called in a different thread.
17 - slightly clarify rouse_cb/rouse_wait documentation. 39 - slightly clarify rouse_cb/rouse_wait documentation.
18 - slightly improve rouse callback performance and memory usage. 40 - slightly improve rouse callback performance and memory usage.
19 - try to report correct calller when throwing exception in 41 - try to report correct calller when throwing exception in
20 on $condvar->recv, not a useless line in Coro::AnyEvent. 42 on $condvar->recv, not a useless line in Coro::AnyEvent.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines