hanchenye-llvm-project/libcxx/test/std/thread
Casey Carter b574e11217 [libc++][test] Remove non-portable assumption that thread's constructor allocates with ::new
Drive-by:
* Fix potential race between check and update of `throw_one` in `operator new`
* Fix latent bug in `operator delete`, which shouldn't decrement `outstanding_new` when passed a null pointer
* Specifically catch the expected `bad_alloc` in `main` instead of `...`

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

llvm-svn: 359827
2019-05-02 21:19:41 +00:00
..
futures Support tests in freestanding 2019-02-04 20:31:13 +00:00
thread.condition Support tests in freestanding 2019-02-04 20:31:13 +00:00
thread.general Support tests in freestanding 2019-02-04 20:31:13 +00:00
thread.mutex [libc++] Remove unnecessary <iostream> #includes in tests 2019-03-28 16:38:15 +00:00
thread.req Support tests in freestanding 2019-02-04 20:31:13 +00:00
thread.threads [libc++][test] Remove non-portable assumption that thread's constructor allocates with ::new 2019-05-02 21:19:41 +00:00
macro.pass.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00