diff options
author | Tom Gundersen <teg@jklm.no> | 2015-04-27 11:43:31 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-05-06 23:45:10 +0200 |
commit | c6aa11f200bcdb910563964d4680807bde372a39 (patch) | |
tree | 8f479426341aaaae194ce05b000a2a000a0a6efb /test/d.service | |
parent | 7f629b74c4adc483dd5733bd9191b58cfbdd157f (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 'test/d.service')
0 files changed, 0 insertions, 0 deletions