Subject: Re: proposal for Linux exit_group emulation
To: Frank van der Linden <fvdl@netbsd.org>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 12/03/2005 09:29:45
On Sat, Dec 03, 2005 at 11:35:37AM +0100, Frank van der Linden wrote:
> Chuck Silvers wrote:
>
> >is this really better than using one process with multiple LWPs?
> >what problems would be caused by switching to that model?
> >
> >
> Having to to implement some sort of an lwp_kill for example.. Linux has
> the functionality, we do not. Although we probably should have it, for
> PTHREAD_CONCURRENCY > 1 signal issues.
I meant, does the linux thread library make assumptions which cannot be
met in a single process? eg. does it require that each thread have a
separate PID? if so, then we have to stick with the current model.
but if the single-process model can work, then that would seem
a better way to go.
-Chuck