Merge "Increase the size of threadpool to 16 in hal layer"

This commit is contained in:
Ray Chin 2023-02-01 03:23:16 +00:00 committed by Android (Google) Code Review
commit c95b4df597

View file

@ -26,7 +26,7 @@
using ::aidl::android::hardware::tv::tuner::Tuner; using ::aidl::android::hardware::tv::tuner::Tuner;
int main() { int main() {
ABinderProcess_setThreadPoolMaxThreadCount(8); ABinderProcess_setThreadPoolMaxThreadCount(16);
std::shared_ptr<Tuner> tuner = ndk::SharedRefBase::make<Tuner>(); std::shared_ptr<Tuner> tuner = ndk::SharedRefBase::make<Tuner>();
tuner->init(); tuner->init();