Merge "Revert to using epoll_wait()." into gingerbread
This commit is contained in:
commit
1ec7a1d547
@ -24,10 +24,10 @@
|
|||||||
|
|
||||||
#include <android/looper.h>
|
#include <android/looper.h>
|
||||||
|
|
||||||
// Currently using poll() instead of epoll_wait() since it does a better job of meeting a
|
// When defined, uses epoll_wait() for polling, otherwise uses poll().
|
||||||
// timeout deadline. epoll_wait() typically causes additional delays of up to 10ms
|
#define LOOPER_USES_EPOLL
|
||||||
// beyond the requested timeout.
|
|
||||||
//#define LOOPER_USES_EPOLL
|
// When defined, logs performance statistics for tuning and debugging purposes.
|
||||||
//#define LOOPER_STATISTICS
|
//#define LOOPER_STATISTICS
|
||||||
|
|
||||||
#ifdef LOOPER_USES_EPOLL
|
#ifdef LOOPER_USES_EPOLL
|
||||||
|
Loading…
Reference in New Issue
Block a user