chiark / gitweb /
udevd: make sure a worker finishes event handling before exiting
authorKay Sievers <kay.sievers@vrfy.org>
Sat, 11 Jul 2009 16:21:26 +0000 (18:21 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 11 Jul 2009 16:21:26 +0000 (18:21 +0200)
commitadda4c682ad2c56fc091222be3bd94fa817013b9
treea26ef7d9a817356b4b111f24b42208a116a1a14c
parent405c307a72af520a8aba5609112a8c3a2b8a42a3
udevd: make sure a worker finishes event handling before exiting

Persistent network rules write out new rules files. When rules change,
we need to kill all workers to update the in-memory copy of the rules.
We need to make sure, that a worker finshes its work for all device
messages it has accepted, before it exits after a SIGTERM from the main
process.
libudev/libudev-util-private.c
udev/udevd.c