Re: Signals and an exiting thread

From: David Xu <davidxu_at_freebsd.org>
Date: Sat, 10 Oct 2009 13:25:16 +0800
Kostik Belousov wrote:

> I agree that postponing assignment of the thread for signal delivery
> till the actual delivery occurs is the proper fix. I tried to cheat
> in my previous patch. Below is an experimental change that did very
> minimal testing.
> <snip>

Even if the signal is put into process's signal queue, it is still
possible that signal notification is lost because selected thread
exits before seeing it, if other threads are sleeping, they are
not notified, this leaves signal in process queue long time before
it can be delivered to userland.
Received on Sat Oct 10 2009 - 03:25:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC