Re: thread group comments

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Sep 02 2000 - 05:39:48 EST


> I don't see how you can do this. Also on user level you would have to
> do this atomically since otherwise communication between the threads
> isn't possible anymore. We have a PR in the glibc bug data base about
> just that. And I know that there are many other users with this
> problem.

You need to deliver a reserved signal to each thread then spin/sleep until
each one acks the request or dies. Its identical to a TLB shootdown in
the kernel.

-
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 Sep 07 2000 - 21:00:13 EST