Re: [PATCH] detached cloning

Daniel Jacobowitz (dan@debian.org)
Thu, 10 Apr 2003 11:12:48 -0400


On Thu, Apr 10, 2003 at 01:29:31AM +0200, J.A. Magallon wrote:
>
> On 04.08, Daniel Jacobowitz wrote:
> > On Sun, Apr 06, 2003 at 01:09:44AM +0200, J.A. Magallon wrote:
> > >
> > > On 04.06, J.A. Magallon wrote:
> > > >
> > > > On 04.04, Marcelo Tosatti wrote:
> > > > >
> > > > > So here goes -pre7. Hopefully the last -pre.
> > > > >
> > > >
> > >
> > > Fix a crash that can be caused by a CLONE_DETACHED thread.
> > > Author: Ingo Molnar <mingo@elte.hu>
> > >
> [...]
> >
> > CLONE_DETACHED isn't even in 2.4 except in Red Hat kernels.
> >
>
> But pthreads can spawn detached threads. Can this have any effect ?

Detached threads actually have no relationship to CLONE_DETACHED. In
NPTL all threads are CLONE_DETACHED whether they're detached or not; in
LinuxThreads they never are, also regardless.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/