Re: SCO: "thread creation is about a thousand times faster than on native Linux"

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Aug 24 2000 - 13:21:31 EST


> On Thu, Aug 24, 2000 at 02:01:55PM +0200, Andi Kleen wrote:
> > POSIX wants to send the signal to the first thread in the group who
> > doesn't have it blocked.
>
> To _any_ thread in the group that does not have it blocked.

Any-single or any-all ?

See you need to send them to a predictable thread for real time signals to
preserve queue time order semantics on signal queues. Otherwise you just
broke the entire asynchronous I/O model

> > Several signals are special cased in POSIX, e.g. SIGSTOP, and need to
> > handled by all threads in the group.
>
> I think that logic needs to be in the root thread.

The root thread cant catch SIGSTOP and reprocess it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:13 EST