This is the mail archive of the 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]


Daniel Jacobowitz wrote:
> 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.

Presumably there is a getthreadid() or some such.  Lets see, LynxOS
combines the process pid and the threadid in the same word, won't work
here, but...
> 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

Real time sched:

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