diff options
| author | Spencer Low <CompareAndSwap@gmail.com> | 2015-09-29 18:33:38 -0700 |
|---|---|---|
| committer | Spencer Low <CompareAndSwap@gmail.com> | 2015-09-30 23:29:25 -0700 |
| commit | 888a748bf23f7afb19c026d96245b31ca0abdd15 (patch) | |
| tree | 91ebfcf93278809d6c6d173eeb436c05d098490d /base/errors_unix.cpp | |
| parent | dc91dafa3b614b399074a1506ba1684c89ae4eae (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 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
