am 78a76fea: Merge "Revert to using epoll_wait()." into gingerbread

Merge commit '78a76fea28b8101c1860a2f1115329e3e63abda3' into gingerbread-plus-aosp

* commit '78a76fea28b8101c1860a2f1115329e3e63abda3':
  Revert to using epoll_wait().
This commit is contained in:
Jeff Brown
2010-10-14 22:21:40 -07:00
committed by Android Git Automerger

View File

@@ -24,10 +24,10 @@
#include <android/looper.h>
// Currently using poll() instead of epoll_wait() since it does a better job of meeting a
// timeout deadline. epoll_wait() typically causes additional delays of up to 10ms
// beyond the requested timeout.
//#define LOOPER_USES_EPOLL
// When defined, uses epoll_wait() for polling, otherwise uses poll().
#define LOOPER_USES_EPOLL
// When defined, logs performance statistics for tuning and debugging purposes.
//#define LOOPER_STATISTICS
#ifdef LOOPER_USES_EPOLL