llvm-project/libcxx/test/std/thread/futures/futures.async
Louis Dionne 616ef1863f [libc++] Remove race condition in std::async
Summary:
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=38181
rdar://problem/42548261

Reviewers: mclow.lists, EricWF

Subscribers: christof, dexonsmith, cfe-commits

Differential Revision: https://reviews.llvm.org/D51170

llvm-svn: 340608
2018-08-24 14:00:59 +00:00
..
async.fail.cpp [libcxx] [test] Fix whitespace, NFC. 2018-04-12 23:56:22 +00:00
async.pass.cpp Enable -Wunreachable-code and fix duplicate warning flags 2016-12-24 04:34:33 +00:00
async_race.38682.pass.cpp [libc++] Remove race condition in std::async 2018-08-24 14:00:59 +00:00
async_race.pass.cpp [libcxx] [test] Fix URLs in comments and make them HTTPS. NFC. 2017-08-05 00:44:24 +00:00