ThreadPool unittests: do not hold mutex when calling condition_variable:notify()
authorMehdi Amini <mehdi.amini@apple.com>
Sat, 19 Dec 2015 22:56:24 +0000 (22:56 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Sat, 19 Dec 2015 22:56:24 +0000 (22:56 +0000)
commitec9022de4bc2948702e2248865821f1ad2c75e22
treeb7132c120bff1739f97a8cf9e14930204c743bec
parent1d8492ee7dc43304d92ffc91209f68d5b536d415
ThreadPool unittests: do not hold mutex when calling condition_variable:notify()

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256111 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Support/ThreadPool.cpp