Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6271cc23 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "libbinder: log when wrong number of threads start" am: 88c01694 am:...

Merge "libbinder: log when wrong number of threads start" am: 88c01694 am: 7cd700ee am: 9f2837e2 am: 9d704cf3

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1925163

Change-Id: Id2123e64909259323f330169c7dd6c9ff5ad185e
parents 90dd5d4a 9d704cf3
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -176,6 +176,11 @@ void ProcessState::startThreadPool()
{
    AutoMutex _l(mLock);
    if (!mThreadPoolStarted) {
        if (mMaxThreads == 0) {
            ALOGW("Extra binder thread started, but 0 threads requested. Do not use "
                  "*startThreadPool when zero threads are requested.");
        }

        mThreadPoolStarted = true;
        spawnPooledThread(true);
    }