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 |
||
|---|---|---|
| .. | ||
| futures | ||
| thread.condition | ||
| thread.general | ||
| thread.mutex | ||
| thread.req | ||
| thread.threads | ||
| macro.pass.cpp | ||