Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc3ad87c authored by Jeff Brown's avatar Jeff Brown Committed by Android Git Automerger
Browse files

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

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

* commit '78a76fea':
  Revert to using epoll_wait().
parents ebad42d6 78a76fea
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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