a65e41529e4e3900372d54859f8c559cf79d953c |
|
28-Apr-2011 |
David 'Digit' Turner <digit@android.com> |
Add loopIo_poll() function. This will be used later by the goldfish network pipe implementation. Change-Id: I70c770efba15b2fd5ef7cc52450aa07163fa21f5
/external/qemu/android/looper-generic.c
|
07db34976ba1dd045a51c4ab2c7f52479cddcc57 |
|
02-Feb-2011 |
David 'Digit' Turner <digit@android.com> |
Simplify UI-only sources. Get rid of console-ui.c, qemu-timer-ui.c and modify vl-android-ui.c to use a generic Looper object instead of a crummy event loop. We still need to implement qemu_set_fd_handler for two sources under android/protocol/ but this will be cleaned up later. Change-Id: Icd0762675ca2f54e720a9cec40f96caea500b52f
/external/qemu/android/looper-generic.c
|
1bb627cd086588d3f9650fac04f4034961caf9f1 |
|
18-Nov-2010 |
David 'Digit' Turner <digit@android.com> |
Fix generic looper implementation + allow looper_run() to return a value that indicates why it exited. + add looper_runWithDeadline() and looper_runWithTimeout() in the case where you want to run only for a limited time. looper_runWithTimeout(looper,0) can be used to poll the event state and return asap after firing all the callbacks. + fix iolooper_modify() Change-Id: Iba3b0385a7fd8d90f4f3334ebf313e79267f7b3d
/external/qemu/android/looper-generic.c
|
347753be1d6bb07249641c84c3c582113af81941 |
|
18-Nov-2010 |
David 'Digit' Turner <digit@android.com> |
Allow safe deletion during iteration of an ARefSet. + make AREFSET_FOREACH take the name of an existing type variable which avoids an annoying type-cast in each statement. Change-Id: Icf9d886601a9876fa29c15eb0e60a9bf6c8ec163
/external/qemu/android/looper-generic.c
|
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/looper-generic.c
|