If mutex::try_lock() is called in a thread that already owns the mutex, the behavior is undefined. The patch fixes the issue by creating another thread, where the call is allowed. Differential Revision: https://reviews.llvm.org/D94656 |
||
|---|---|---|
| .. | ||
| futures | ||
| thread.barrier | ||
| thread.condition | ||
| thread.general | ||
| thread.latch | ||
| thread.mutex | ||
| thread.req | ||
| thread.semaphore | ||
| thread.threads | ||
| macro.pass.cpp | ||