042f73e3b7f019c818f69b2c097c4b6f9db839b5 |
|
22-Feb-2017 |
Brian Duddie <bduddie@google.com> |
Add deferCallback() for use by the CHRE system Leverage the event subsystem to implement a method of invoking a callback from within the context of an EventLoop at some point in the future. This can be used to transfer control from a potentially arbitrary thread in a platform-specific callback, into a known EventLoop context, as well as to defer processing of some event. Also, modify EventLoop::postEvent to indicate whether the event was successfully posted to the queue. Change-Id: I79e5b8d5aff82fd2fb304b2a1055aebc3047b50d
/system/chre/util/tests/blocking_queue_test.cc
|
022cc6c770c299bb364e35377a2661791475bbce |
|
22-Dec-2016 |
Andrew Rossignol <aarossig@google.com> |
Renames BlockingQueue to FixedSizeBlockingQueue. - Updates EventLoop to use a FixedSizeBlockingQueue. - Updates tests. Change-Id: I680bdbc3d2039e14b8250cb291bbb8292a304c74
/system/chre/util/tests/blocking_queue_test.cc
|
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/util/tests/blocking_queue_test.cc
|
e64f180233e64c40b56993cfea3696c5b4b16395 |
|
04-Nov-2016 |
Brian Duddie <bduddie@google.com> |
Initial import of CHRE source from external repo Starting at commit 46a52e0 from contexthub-base. Change-Id: I373f3a99b74757daae465b78a3d19bfce4770364
/system/chre/util/tests/blocking_queue_test.cc
|