cvs commit: src/lib/librt sigev_thread.c

Dag-Erling Smørgrav des at
Thu Mar 30 08:59:10 UTC 2006

Daniel Eischen <deischen at> writes:
>   Log:
>   Account for recent changes in namespace.h.  Use _pthread_create
>   instead of pthread_create.

I'm not sure this is correct.  When we're inside libpthread or libthr,
we want to use the underscore versions of pthread_*() so we're sure
that we're referring to ourself and not to some third-party pthred
library that may have been mixed in somehow, but outside of it, we
want to refer to whichever pthread library the application developer
has chosen to use (he may even have his own compiled into the
application - been there, done that).  I believe the correct fix in
this case is to move <pthread.h> below "un-namespace.h".

Dag-Erling Smørgrav - des at

More information about the cvs-src mailing list