diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-13 04:03:30 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-13 04:06:43 +0100 |
commit | 12179984a38fe74581333fbcdc11c822d81f505f (patch) | |
tree | 0fbd335d4c9f2d96df48a5e7a7f7f816c7eca347 /man | |
parent | 7b77ed8cf36e8eca6017791626044b61ae2d68e7 (diff) |
event: when unreffing an event source from its own handler, detach fd from epoll
The pattern of unreffing an IO event source and then closing its fd is
frequently seen in even source callbacks. Previously this likely
resultet in us removing the fd from the epoll after it was closed which
is problematic, since while we were dispatching we always kept an extra
reference to event source objects because we might still need it later.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions