chiark / gitweb /
udevd: handle SIGCHLD before the worker event message
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 13 Jul 2009 01:09:05 +0000 (03:09 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 13 Jul 2009 01:09:05 +0000 (03:09 +0200)
commitbc113de9a4dc1229f7533acd41310a56d60fbe7e
tree8d29f70ea1a7770fbc14cad3f71c6881341be703
parentadda4c682ad2c56fc091222be3bd94fa817013b9
udevd: handle SIGCHLD before the worker event message

We may need to handle SIGCHLD before the queued worker message. The last
reference, from the SIGCHLD or the worker message will clean up the worker
context. In case we receive an unexpected SIGCHLD with an error, we let
the event fail and clean up the worker context.
udev/udevd.c