26 Sep
2013
26 Sep
'13
5:37 p.m.
On 26 September 2013 17:05, Vicente J. Botet Escriba
Yes, here is the problem the data associated to the future_async_continuation_shared_state will be destroyed before the future_async_shared_state_base would try to join. As the thread function associated to the continuation uses these variables there is undefined behavior (a big bug :( ).
Currently the regression test on clang- darwin- asan11 are failing on some the future::then tests. I hope that this change would fix them. We can anyway wait until this tester runs tomorrow.
Okay, I misunderstood what the change was meant to do. You didn't really need to ask since bug fixes are fine now. Sorry if I was over-fussy.