7a17b608de24e3aaf7d5ca030bb80a74dcc3baf9 |
|
17-Nov-2010 |
David 'Digit' Turner <digit@android.com> |
Implementation of event loop abstraction. This patch adds "android/looper.h" which provides an abstraction for event loops: - android/looper-qemu.c implements it on top of the QEMU main event loop. - android/looper-generic.c implements it on top of an IoLooper object. The main idea is to move the UI-related code to use the abstraction to handle timers and asynchronous (network) i/o. NOTE: Code compiles but has not been heavily tested. Change-Id: Ib6820c1b9a9950dc22449a332bc1b066a07af203
/external/qemu/android/utils/vector.h
|