diff options
author | 2024-12-13 20:03:37 +0000 | |
---|---|---|
committer | 2024-12-13 20:04:41 +0000 | |
commit | c86333d8d72947a0270fa45ef766af3aa5903ab7 (patch) | |
tree | 8a479a50eb8849e6bd5790704eed66a9df363af9 /libs/binder/IPCThreadState.cpp | |
parent | a92a88f6f481a904ede9a7a7685c028427aa8a79 (diff) |
libbinder: log when threads requested, not started
Few bugs about this over the years, so adding a log for
it.
Bug: 383234630
Test: no logs added on CF boot:
`adb logcat -d | grep "Thread pool configuration"`
Change-Id: I14382ee5d7e9cd56c245eb6d3883e7db14ff935b
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r-- | libs/binder/IPCThreadState.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp index 6698d0c0cd..623e7b9139 100644 --- a/libs/binder/IPCThreadState.cpp +++ b/libs/binder/IPCThreadState.cpp @@ -775,6 +775,7 @@ void IPCThreadState::joinThreadPool(bool isMain) { LOG_THREADPOOL("**** THREAD %p (PID %d) IS JOINING THE THREAD POOL\n", (void*)pthread_self(), getpid()); + mProcess->checkExpectingThreadPoolStart(); mProcess->mCurrentThreads++; mOut.writeInt32(isMain ? BC_ENTER_LOOPER : BC_REGISTER_LOOPER); |