diff options
author | Tom Gundersen <teg@jklm.no> | 2015-04-27 11:43:31 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-05-26 13:10:27 -0400 |
commit | 1fc303749c2fdab0444a6771defcee8b7401952c (patch) | |
tree | e20a1d688f76f1ae0632b7f2a80ca809d3689dd7 /src/collect | |
parent | adf171757dc1bcf2c5e8b1918e057b9440f43d0e (diff) |
udevd: worker - drop reference counting
Make the worker context have the same life-span as the worker process. It is created on fork()
and free'd on SIGCHLD.
The change means that we can get worker_returned() for a worker context that is no longer around,
this is not a problem and we can just drop the message. The only use for worker_returned() is to
know to reschedule events to workers that are still around, so if the worker has already exited
it is not important to keep track of. We still print a debug statement in this case to be on the
safe side.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/collect')
0 files changed, 0 insertions, 0 deletions