[quagga-dev 7441] Re: (no subject)

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Nov 30 18:22:09 GMT 2009

> On 30/11/2009 17:21, Joakim Tjernlund wrote:
> > linux 2.4 is still in use today because it is much smaller.
> Does the sort of glibc that you would use on a linux 2.4 support pthreads?

Yes, but not NPTL

> let me rephrase: does it support pthreads in a way which is bug-fix
> compatible with current versions of glibc or other libcs which are in use
> on more modern versions of linux?
> As another important issue to add to Greg's questions: how inter-compatible
> are the various pthread implementations used by the various operating
> systems that quagga supports?

No idea, but as far as MONOTONIC_CLOCK goes, one should use times(2) when it
is missing.

Threads is different issue, I don't think anyone wants to use pthreads on older
linux so no need to try. Just make sure the current "threads" still works after
you have added NPTL support.

More information about the Quagga-dev mailing list