summaryrefslogtreecommitdiff
path: root/libs/binder/ProcessState.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-01-19 17:40:23 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-01-19 17:40:23 +0000
commitff30b34cd24b23c8eb899ace1daf7a33db86a775 (patch)
tree13ffb7f1f5b51a05da5e4b3bd4588c05560b4cfc /libs/binder/ProcessState.cpp
parentb86f892039f13f689ea8df485cc5ac908999afe2 (diff)
parentc648a765dc0e3008db62a368df3ea7592d4c2452 (diff)
Merge "libbinder - avoid pthread_cond_broadcast per call"
Diffstat (limited to 'libs/binder/ProcessState.cpp')
-rw-r--r--libs/binder/ProcessState.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp
index b5e4dfe4df..c38249ef7c 100644
--- a/libs/binder/ProcessState.cpp
+++ b/libs/binder/ProcessState.cpp
@@ -399,6 +399,7 @@ ProcessState::ProcessState(const char *driver)
, mThreadCountLock(PTHREAD_MUTEX_INITIALIZER)
, mThreadCountDecrement(PTHREAD_COND_INITIALIZER)
, mExecutingThreadsCount(0)
+ , mWaitingForThreads(0)
, mMaxThreads(DEFAULT_MAX_BINDER_THREADS)
, mStarvationStartTimeMs(0)
, mThreadPoolStarted(false)