This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CLONE_THREAD


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]