Systemd/src/libsystemd/sd-event
Tom Gundersen f68067348f sd-event: don't touch fd's accross forks
We protect most of the API from use accross forks, but we still allow both
sd_event and sd_event_source objects to be unref'ed. This would cause
problems as it would unregister sources from the underlying eventfd, hence
also affecting the original instance in the parent process.

This fixes the issue by not touching the fds on unref when done accross a fork,
but still free the memory.

This fixes a regression introduced by
        "udevd: move main-loop to sd-event": 693d371d30

where the worker processes were disabling the inotify event source in the
main daemon.
2015-06-04 19:04:26 +02:00
..
event-util.h event: pull in sd-event.h from event-util.h 2014-07-10 20:12:34 +02:00
Makefile libsystemd: split up into subdirs 2014-01-21 14:41:35 +01:00
sd-event.c sd-event: don't touch fd's accross forks 2015-06-04 19:04:26 +02:00
test-event.c util: split out signal-util.[ch] from util.[ch] 2015-05-29 20:14:11 +02:00