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/include/chre/platform/condition_variable.h
|
961c9e6a5fe6ae43951ef54f2a34501bd6359010 |
|
22-Dec-2016 |
Andrew Rossignol <aarossig@google.com> |
Makes base classes public with protected members - When a platform implementation requires access to the internals of another platform specific class, this makes it possible. - Also standardizes on `friend class` where the friend is a class and not a struct. Change-Id: Ic529f7fe773024b6af70de349a5badb149507d92
/system/chre/platform/include/chre/platform/condition_variable.h
|
aa718a9536c0547620c183d90195bfb0f76f8284 |
|
08-Dec-2016 |
Andrew Rossignol <aarossig@google.com> |
Implements a platform abstraction for a condition variable - Updates the blocking queue to use the new mutex and condition variable abstractions. - Removes noncopyable from the //util:util target due to a cyclic dependency. Change-Id: I97540b2322ff1492a4c3241b4984e4feb1a916f3
/system/chre/platform/include/chre/platform/condition_variable.h
|