platform_hardware_interfaces/broadcastradio/common/utils
Weilin Xu 82f17d9ed4 Fix timeout issue for bcradio worker thread
Accessed mIsTerminating inside the same lock as what is used in while
loop in worker thread class of broadcast radio HAL utils lib. This fixed
the race condition that mIsTerminating is accessed as true in threadLoop
while the destructor is setting mIsTerminating as false, which causes the
thread waits forever for lock after lock is released in the desctructor.

Bug: 314100017
Test: atest VtsHalBroadcastradioAidlTargetTest WorkerThreadTest
Change-Id: I885e1487ac39525fc2d1ee2134d24409264ca0fc
2024-01-08 16:48:18 -08:00
..
include/broadcastradio-utils Fix timeout issue for bcradio worker thread 2024-01-08 16:48:18 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
WorkerThread.cpp Fix timeout issue for bcradio worker thread 2024-01-08 16:48:18 -08:00