commit | 8892ce6383c7aa3e18107b94889882a0374de69f | [log] [tgz] |
---|---|---|
author | Tim Kilbourn <tkilbourn@google.com> | Thu Mar 26 14:36:32 2015 -0700 |
committer | Tim Kilbourn <tkilbourn@google.com> | Fri Mar 27 09:15:43 2015 -0700 |
tree | 257ab6febcbeb8869399f10ae2b46f4177409d2c | |
parent | c38eb8f390f3ca6edb1ec63fbfa95ca0057212fc [diff] [blame] |
Use eventfd instead of pipe in Looper. Bug: 19933224 Change-Id: I6611e918db960bbb0e74f8308e10bdf79510b899
diff --git a/include/utils/Looper.h b/include/utils/Looper.h index a381251..da2d5f2 100644 --- a/include/utils/Looper.h +++ b/include/utils/Looper.h
@@ -447,8 +447,7 @@ const bool mAllowNonCallbacks; // immutable - int mWakeReadPipeFd; // immutable - int mWakeWritePipeFd; // immutable + int mWakeEventFd; // immutable Mutex mLock; Vector<MessageEnvelope> mMessageEnvelopes; // guarded by mLock