summaryrefslogtreecommitdiff
path: root/libutils/FileMap.cpp
diff options
context:
space:
mode:
authorSpencer Low <CompareAndSwap@gmail.com>2015-09-29 18:33:38 -0700
committerSpencer Low <CompareAndSwap@gmail.com>2015-09-30 23:29:25 -0700
commit888a748bf23f7afb19c026d96245b31ca0abdd15 (patch)
tree91ebfcf93278809d6c6d173eeb436c05d098490d /libutils/FileMap.cpp
parentdc91dafa3b614b399074a1506ba1684c89ae4eae (diff)
adb: fdevent fixes
* fdevent_{set,add,del}() * CHECK() that the fdevent is FDE_ACTIVE, otherwise the caller would be waiting for events that will never arrive. * Remove ~ from "fde->events &= ~events" to keep desired bits instead of turning off desired bits. * fdevent_call_fdfunc() * CHECK(FDE_PENDING) since it should always be true if the fdevent was on the pending list, or if fdevent_subproc_event_func() is faking things. The goal is to try to avoid losing events. Change-Id: I979c2fffa0b3d6b635488cde11dc544691193018 Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
Diffstat (limited to 'libutils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions