This change removes the spurious m.unlock() call. If this test was previously passing for anyone with assertions enabled, then they should investigate bugs in their pthread implementation, as pthread_unlock() should not return 0 if the mutex is currently unlocked. llvm-svn: 175506 |
||
|---|---|---|
| .. | ||
| thread.lock.guard | ||
| thread.lock.unique | ||
| types.pass.cpp | ||