summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/native_handle.pass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move native_handle thread tests to test/libcxxEric Fiselier2016-06-221-54/+0
| | | | llvm-svn: 273341
* Fix race conditions in test class used throughout the std::thread tests.Eric Fiselier2015-04-021-1/+2
| | | | | | | | | | | The test class 'G' reads and writes to the same static variables in its constructor, destructor and call operator. When threads are constructed using `std::thread t((G()))` there is a race condition between the destruction of the temporary and the execution of `G::operator()()`. The fix is to simply create the input before creating the thread. llvm-svn: 233946
* Move test into test/std subdirectory.Eric Fiselier2014-12-201-0/+53
llvm-svn: 224658
OpenPOWER on IntegriCloud