summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/default.pass.cpp
diff options
context:
space:
mode:
authorCasey Carter <Casey@Carter.net>2019-05-02 21:19:41 +0000
committerCasey Carter <Casey@Carter.net>2019-05-02 21:19:41 +0000
commitb574e112177dbca8eae689d2324d8e5bb7138a06 (patch)
tree5cfc4066df64b8836b66008d26e0ea657dc1a88d /libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/default.pass.cpp
parentfc40cbd9d8c63e65eed3590ba925321afe782e1d (diff)
downloadbcm5719-llvm-b574e112177dbca8eae689d2324d8e5bb7138a06.tar.gz
bcm5719-llvm-b574e112177dbca8eae689d2324d8e5bb7138a06.zip
[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
Diffstat (limited to 'libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/default.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud