llvm-project/libcxx/test/std/thread
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
..
futures [libc++] Remove race condition in std::async 2018-08-24 14:00:59 +00:00
thread.condition Move POSIX specific test under test/libcxx subdirectory 2017-05-12 02:02:09 +00:00
thread.general
thread.mutex Change (void) casts to TEST_IGNORE_NODISCARD, as requested by Eric. Reviewed as https://reviews.llvm.org/D40065 2017-11-21 21:37:26 +00:00
thread.req
thread.threads [libcxx] [test] Fix Clang -Wunused-local-typedef warnings. 2017-07-19 22:02:29 +00:00
macro.pass.cpp