Re: kernel thread support - LWP's

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Fri, 16 Jul 1999 03:01:46 +0200


Richard Gooch wrote:
> Yes, you could use process groups to emulate POSIX thread killing
> semantics, but that requires your "heavyweight process" to switch to a
> new process group. That might not always be what you want (and may
> possibly violate POSIX). So I'd be happier if we could find some clean
> and lightweight way of adding a new grouping mechanism so we can
> properly support POSIX thread killing semantics *and* not interfere
> with process groups.

If I type ^C after "this | that | other" I expect it to kill all the
threads in all the processes... not just all the threads in one of the
processes.

Looks like an argument for another kind of process group, rather than
eliminating process ids for individual threads.

Larry's given a very nice set of reasons why different ids for different
threads is useful.

-- Jamie

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