eb3dde5a004878cc5e608ff992efc5f23db10f88 |
|
18-Aug-2017 |
Arthur Ishiguro <arthuri@google.com> |
Adds a wait_for function in ConditionVariable - Implements condition variable wait with a timout - For the SLPI, intended to work for a single waiting thread - Modifies SLPI system timer to free timer only if initialized. Bug: 63601406 Test: Compile and load CHRE, test by modifying event loop to use the timed conditional wait for the blocking event queue. Verify that the when the event queue is empty, condition variable times out if there is no event posted within the timeout duration. Change-Id: Ia69b6f808ab33a9d552610331fbb774a7af0a54b
/system/chre/platform/slpi/include/chre/target_platform/condition_variable_impl.h
|