summaryrefslogtreecommitdiff
path: root/src/initctl
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-27 11:43:31 +0200
committerTom Gundersen <teg@jklm.no>2015-05-06 23:45:10 +0200
commitc6aa11f200bcdb910563964d4680807bde372a39 (patch)
tree8f479426341aaaae194ce05b000a2a000a0a6efb /src/initctl
parent7f629b74c4adc483dd5733bd9191b58cfbdd157f (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.
Diffstat (limited to 'src/initctl')
0 files changed, 0 insertions, 0 deletions