summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-13 04:03:30 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-13 04:06:43 +0100
commit12179984a38fe74581333fbcdc11c822d81f505f (patch)
tree0fbd335d4c9f2d96df48a5e7a7f7f816c7eca347 /TODO
parent7b77ed8cf36e8eca6017791626044b61ae2d68e7 (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--TODO3
1 files changed, 1 insertions, 2 deletions
diff --git a/TODO b/TODO
index 4274b37ee9..0ea410953c 100644
--- a/TODO
+++ b/TODO
@@ -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.