Merge tm-qpr-dev-plus-aosp-without-vendor@9129937

Bug: 248070379
Merged-In: I0c7776aea1518c17f0a29904a44b7fe8f33980ca
Change-Id: I72fdb741d2564e56911d776a7bb446743c8124a3
This commit is contained in:
Xin Li 2022-10-06 12:03:37 -07:00
commit d53b1adb0f
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,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)) {