This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: CLONE_THREAD
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: george anzinger <george at mvista dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 19 Feb 2002 23:45:33 -0500
- Subject: Re: CLONE_THREAD
- References: <3C72EBB8.499C1C2C@mvista.com>
On Tue, Feb 19, 2002 at 04:20:08PM -0800, george anzinger wrote:
> Is there any reason not to turn on the CLONE_THREAD option in the
> pthread clone calls?
>
> As near as I can see this will not do much in the current library,
> however, I have patch for the kernel that wants to keep track of thread
> groups.
It does quite a bit. For instance, getpid() in the threads will no
longer return a unique value per thread, but the thread group ID.
On the other hand, I'd like to see LinuxThreads use CLONE_THREAD also.
Ulrich, I know that it doesn't begin to cover what LinuxThreads needs
from the kernel, but in my conversations with David Howells about the
process ornament debugging interface we've agreed that it would be a
great deal easier to deal with threaded processes if they belonged to a
thread group.
> Also, the info on what this list is for is a bit sparse, am I on the
> right mailing list?
Yup.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer