summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/thread_pool.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/thread_pool.cc b/runtime/thread_pool.cc
index 67fcd58220..aca0561a77 100644
--- a/runtime/thread_pool.cc
+++ b/runtime/thread_pool.cc
@@ -43,8 +43,6 @@ ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& n
ThreadPoolWorker::~ThreadPoolWorker() {
CHECK_PTHREAD_CALL(pthread_join, (pthread_, NULL), "thread pool worker shutdown");
- // TODO: Delete this when race condition in pthread_join is fixed.
- usleep(500);
}
void ThreadPoolWorker::Run() {