On Mar 16, 2011, at 7:48 AM, Paul H. Hargrove wrote:
> I have looked before for symbols to distinguish LinuxThreads from NPTL, but I was not successful in finding anything. I don't recall if I examined headers for differences, but the implementations are binary compatible by design, making differences intentionally minimal.
>
> I suppose one can grep the pthreads.h header for the following:
> /* Linuxthreads - a simple clone()-based implementation of Posix */
> /* threads for Linux. */
> /* Copyright (C) 1996 Xavier Leroy (Xavier.Leroy_at_[hidden]) */
I'd rather not grep -- that would entail finding pthread.h, which could be tricky in a cross-compile scenario (i.e., it is likely not in /usr/include/pthread.h).
Could you send me the pthread.h from that RH8 box?
--
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/
|