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 /TODO | |
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 'TODO')
-rw-r--r-- | TODO | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -134,8 +134,7 @@ Features: - fix sd-event hookup when we connect to multiple servers one after the other * sd-event - - allow multiple signal handlers per signal - - when dispatching an event source then _unref() on it should remove it from the epoll + - allow multiple signal handlers per signal? * in the final killing spree, detect processes from the root directory, and complain loudly if they have argv[0][0] == '@' set. |