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

Comparing Coro/Changes (file contents):
Revision 1.683 by root, Thu Feb 20 18:42:14 2020 UTC vs.
Revision 1.694 by root, Sat May 21 17:09:22 2022 UTC

6TODO: swap_sv, maybe add scope_swap_sv? 6TODO: swap_sv, maybe add scope_swap_sv?
7TODO: croak when async_pool tries to run canceled thread? 7TODO: croak when async_pool tries to run canceled thread?
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: enable_times is broken (t_cpu = 4294967287.593... and decreasing) 11TODO: State.xs could short-circuit some macros such as CORO_EXECUTE_SLF
12TODO: use frame->destroy to improve Coro::EV
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 interesting type of recursive coro
31 destruction (testcase by Christopher J. Madsen).
32 - add connected method as alias for peername in Coro::Handle, as
33 the inherited version does not work for us (analyzed by Simon816).
34 - change jit executable strategy, to hopefully appease more
35 hardened environments.
36
376.57 Wed Jul 29 15:08:44 CEST 2020
38 - override AnyEvent condvar methods "properly", as AnyEvent
39 has support for pluggable condvars since 2011. This also
40 avoids problems with recursive waits by avoiding to mix
41 impl methods with coro code.
42 - allow rouse_wait to be called in a different thread.
43 - slightly clarify rouse_cb/rouse_wait documentation.
44 - slightly improve rouse callback performance and memory usage.
45 - try to report correct calller when throwing exception in
46 on $condvar->recv, not a useless line in Coro::AnyEvent.
12 47
136.56 Thu Feb 20 19:40:07 CET 2020 486.56 Thu Feb 20 19:40:07 CET 2020
14 - Coro::EV::time*once functions used ev_once, which is not cancelable. 49 - Coro::EV::time*once functions used ev_once, which is not cancelable.
15 This could cause problems due to I/O watchers not being stopped up 50 This could cause problems due to I/O watchers not being stopped up
16 on exceptions/cancellation. 51 on exceptions/cancellation.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines