summaryrefslogtreecommitdiff
path: root/libs/ui/InputReader.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2010-10-05 15:35:37 -0700
committer Jeff Brown <jeffbrown@google.com> 2010-10-07 13:26:39 -0700
commit54e1cdacd2b132997fdca5e5b90e45855c7a2a95 (patch)
tree0a86f41f39f9abdb7dca1fe01fe61c5a381f89d5 /libs/ui/InputReader.cpp
parent0202e358cf4c462243531c3c850120f6b8e1ce91 (diff)
Switch Looper back to using poll() instead of epoll().
Added a couple of micro-optimizations to avoid calling wake() unnecessarily and reduce JNI overhead slightly. Fixed a minor issue where we were not clearing the "next" field of Messages returned by the MessageQueue so the Message would hold on to its successor and potentially prevent the GC from collecting it if the message were leaked somehow. Change-Id: I488d29417ce0cdd7d0e447cda76ec978ef7f811c
Diffstat (limited to 'libs/ui/InputReader.cpp')
0 files changed, 0 insertions, 0 deletions