Remove possibility of failures to due race in ThreadPool unittest
authorTeresa Johnson <tejohnson@google.com>
Fri, 18 Dec 2015 22:59:35 +0000 (22:59 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 18 Dec 2015 22:59:35 +0000 (22:59 +0000)
commit21577c0682a8c0a3073cf970eeb3fd8dde2bcb21
treef94a846e9683759c2a05a98def9f1a1b5c9f564f
parentca5c277bdf14f18f69ef36ef43f350e95a20f69b
Remove possibility of failures to due race in ThreadPool unittest

Remove all checks that required main thread to run faster than tasks in
ThreadPool, and yields which are now unnecessary. This should fix some
bot failures.

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