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

Commit 67f8b522 authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Shorten thread names"

parents 47e864eb 102d539a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -286,8 +286,8 @@ void ProcessState::spawnPooledThread(bool isMain)
{
    if (mThreadPoolStarted) {
        int32_t s = android_atomic_add(1, &mThreadPoolSeq);
        char buf[32];
        sprintf(buf, "Binder Thread #%d", s);
        char buf[16];
        snprintf(buf, sizeof(buf), "Binder_%X", s);
        ALOGV("Spawning new pooled thread, name=%s\n", buf);
        sp<Thread> t = new PoolThread(isMain);
        t->run(buf);