llvm-project/libcxx/test/std/thread/futures
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.async [libc++] Remove race condition in std::async 2018-08-24 14:00:59 +00:00
futures.errors
futures.future_error Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
futures.overview Implement is_error_code_v and is_error_condition_v for c++17. Rework the tests for is_error_code and is_error_condition, since they were really lacking. Thanks to Alisdair for the heads-up that we were missing these. 2016-09-24 17:36:14 +00:00
futures.promise Clean up more usages of _LIBCPP_HAS_NO_RVALUE_REFERENCES 2017-03-03 03:43:25 +00:00
futures.shared_future [libcxx] [test] The entire file futures.shared_future/wait_until.pass.cpp was indented by 1 space. NFC. 2017-07-29 00:55:27 +00:00
futures.state
futures.task Revert commit removing allocator support from packaged_task. Will investigate further 2017-11-27 20:47:54 +00:00
futures.unique_future Clean up more usages of _LIBCPP_HAS_NO_RVALUE_REFERENCES 2017-03-03 03:43:25 +00:00