The state associated to the future was set in one thread (with synchronization)
but read in another thread without synchronization, which led to a data race.
https://bugs.llvm.org/show_bug.cgi?id=38682
rdar://problem/42548261
Differential D51170
[libc++] Remove race condition in std::async ldionne on Aug 23 2018, 9:20 AM. Authored by
Details The state associated to the future was set in one thread (with synchronization) https://bugs.llvm.org/show_bug.cgi?id=38682
Diff Detail
Event Timeline
|