This is the mail archive of the
mailing list for the glibc project.
Re: Re: pthreads in Linux
- To: "Andreas Jaeger" <aj at suse dot de>
- Subject: Re: Re: pthreads in Linux
- From: Kapish K <kapish at ureach dot com>
- Date: Mon, 14 May 2001 12:00:04 -0400
- cc: "Wolfram Gloger" <Wolfram dot Gloger at dent dot med dot uni-muenchen dot de>, libc-alpha at sourceware dot cygnus dot com
- Reply-to: <kapish at ureach dot com>
Thanks for the info. Well, we might be moving to glibc 2.2.2,
not 2.2.3. I looked into 2.2.2 code, and it looks like this
support comes into effect in 2.2.2 itself. So, we should be able
to use the ldt implementtaion on 2.4.2 with glibc 2.2.2 itself?
I do think a 'yes' here. but are there any other caveats in
2.2.2 in this regard that we may not be aware of?
Get your own "800" number
Voicemail, fax, email, and a lot more
---- On 12 May 2001 10:44:02, Andreas Jaeger (firstname.lastname@example.org) wrote:
> Kapish K <email@example.com> writes:
> > Hello,
> > Well, I looked at the code, and there are a few queries on
> > this:
> > Firstly, yes, sysdeps/i386/i686, there is a pt-machine.h,
> > includes useldt.h ( which has the #define for the register
> > support ) and pt-machine.h is included in internals.h, which
> > included when linuxthreads is compiled.
> > But, however, note that the useldt.h include in pt-machine.h
> > itself is commented out with the following comment:
> > /* Use the LDT implementation only if the kernel is fixed.
> > //#include "../useldt.h"
> That's an old version of glibc you're looking it.
> > Now I am confused.. What does this 'kernel is fixed'
> > mean? Does this get included or not for i686 and why not for
> > ix86 other than i686?
> > Any pointers?
> glibc 2.2.3 uses the LDT implementation if and only if you
> working kernel (2.4.0 or newer, others had some serious bugs
> handling) and work on i686 because older CPUs don't support
> features we need.
> Andreas Jaeger
> SuSE Labs firstname.lastname@example.org
> private email@example.com