llvm-project/libcxx/test/std/thread/thread.threads
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
..
thread.thread.class [libc++][test] Remove non-portable assumption that thread's constructor allocates with ::new 2019-05-02 21:19:41 +00:00
thread.thread.this Support tests in freestanding 2019-02-04 20:31:13 +00:00