diff options
author | Mathieu Chartier <mathieuc@google.com> | 2013-11-21 10:13:31 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2013-11-21 10:13:31 -0800 |
commit | dcc5c7598d38fcb555266c8618df720acea3b954 (patch) | |
tree | 40caa1e6430b0c1cc729ce6caae3fab912701b6b /runtime/thread_pool.cc | |
parent | e9c36b34efb7460f59c6766e526c9b0de8da70b3 (diff) | |
download | art-dcc5c7598d38fcb555266c8618df720acea3b954.tar.gz art-dcc5c7598d38fcb555266c8618df720acea3b954.tar.bz2 art-dcc5c7598d38fcb555266c8618df720acea3b954.zip |
Remove sleep workaround in thread pool.
Not required after the race condition in bionic has been fixed.
Bug: 11693195
Change-Id: Ib27ff79d86caa50676b40a0acd3cab071e65779f
Diffstat (limited to 'runtime/thread_pool.cc')
-rw-r--r-- | runtime/thread_pool.cc | 2 |
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() { |