Keith Mok 22ebbf7822 vehicle-aidl: Fix various race condition
mThread should not be created in initization list,
since class member variables are not ready yet,
and the thread will access those variables.

Even if the shared variable is atomic, it must be modified under the
mutex in order to correctly publish the modification to the waiting
thread.

Bug: 231668271
Test: android.hardware.automotive.vehicle@V1-default-service_fuzzer
Change-Id: Ibbf36ddf9edcaa8d016349631784f54f6fd6c877
2022-05-09 03:38:11 +00:00
2021-12-14 01:45:47 +00:00
2022-05-03 12:40:58 -07:00
2022-01-26 09:50:04 -08:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2021-06-02 16:01:53 -07:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2021-12-14 01:45:47 +00:00
2021-12-14 01:45:47 +00:00
2021-10-28 22:04:46 +00:00
2019-12-13 14:24:23 -08:00
2022-04-25 16:35:42 +00:00
2016-08-30 11:28:36 -07:00
2020-12-16 18:09:12 +00:00
2021-01-21 15:06:51 +09:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%