Re: [PATCH] detached cloning

Daniel Jacobowitz
2003-04-10T15:01:20Z

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