summaryrefslogtreecommitdiff
path: root/src/collect
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-27 11:43:31 +0200
committerAnthony G. Basile <blueness@gentoo.org>2015-05-26 13:10:27 -0400
commit1fc303749c2fdab0444a6771defcee8b7401952c (patch)
treee20a1d688f76f1ae0632b7f2a80ca809d3689dd7 /src/collect
parentadf171757dc1bcf2c5e8b1918e057b9440f43d0e (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