Re: [GIT] Experimental threaded udev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 2, 2009 at 11:13, Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx> wrote:
>> Version 3, which should clean up events with a worker that died. Also
>> kills all workers if the config has changed.
>
> For strict correctness, I guess we need to do the same for "udevadm control
> --log-priority" and "udevadm control --env".

Yeah, makes sense, will add that.

> Hmm, it says worker_kill_idle().  If there are running events at the time,
> their stale workers will survive.  At the moment kill(worker->pid, SIGTERM)
> allows the current event to finish before it terminates, so one solution
> would be to just kill all the workers.

The main daemon will wakeup with a timeout as long as workers exists.
There meigt be several rounds of killing, until all workers are gone.

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux