diff options
author | Brian Carlstrom <bdc@google.com> | 2013-07-17 17:44:30 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2013-07-17 21:46:11 -0700 |
commit | 2ce745c06271d5223d57dbf08117b20d5b60694a (patch) | |
tree | 08ca327d1f1c8266fafb11422cfad6982f21e0bb /runtime/thread_pool.cc | |
parent | fc0e3219edc9a5bf81b166e82fd5db2796eb6a0d (diff) | |
download | art-2ce745c06271d5223d57dbf08117b20d5b60694a.zip art-2ce745c06271d5223d57dbf08117b20d5b60694a.tar.gz art-2ce745c06271d5223d57dbf08117b20d5b60694a.tar.bz2 |
Fix cpplint whitespace/braces issues
Change-Id: Ide80939faf8e8690d8842dde8133902ac725ed1a
Diffstat (limited to 'runtime/thread_pool.cc')
-rw-r--r-- | runtime/thread_pool.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/thread_pool.cc b/runtime/thread_pool.cc index f0f6f18..784a7ca 100644 --- a/runtime/thread_pool.cc +++ b/runtime/thread_pool.cc @@ -60,7 +60,7 @@ void* ThreadPoolWorker::Callback(void* arg) { return NULL; } -void ThreadPool::AddTask(Thread* self, Task* task){ +void ThreadPool::AddTask(Thread* self, Task* task) { MutexLock mu(self, task_queue_lock_); tasks_.push_back(task); // If we have any waiters, signal one. @@ -173,7 +173,7 @@ void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { } } -size_t ThreadPool::GetTaskCount(Thread* self){ +size_t ThreadPool::GetTaskCount(Thread* self) { MutexLock mu(self, task_queue_lock_); return tasks_.size(); } |