Merge Android 13 QPR1

Bug: 261731544
Merged-In: Ib4665d3df62f58e36686ca134f9ae07836fd6945
Change-Id: Idf7e8e4ebefb65d3358e51220fa8ec24e371ddc9
This commit is contained in:
Xin Li 2022-12-09 10:31:11 -08:00
commit 60ab38d24a
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ bool Reaper::init(int comm_fd) {
} }
// set normal scheduling policy for the reaper thread // set normal scheduling policy for the reaper thread
if (pthread_setschedparam(thread_pool_[thread_cnt_], SCHED_OTHER, &param)) { if (pthread_setschedparam(thread_pool_[thread_cnt_], SCHED_OTHER, &param)) {
ALOGW("set SCHED_OTHER failed %s", strerror(errno)); ALOGW("set SCHED_FIFO failed %s", strerror(errno));
} }
snprintf(name, sizeof(name), "lmkd_reaper%d", thread_cnt_); snprintf(name, sizeof(name), "lmkd_reaper%d", thread_cnt_);
if (pthread_setname_np(thread_pool_[thread_cnt_], name)) { if (pthread_setname_np(thread_pool_[thread_cnt_], name)) {