Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2006 10:59:02 +0200
From:      des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=)
To:        Daniel Eischen <deischen@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/librt sigev_thread.c
Message-ID:  <86k6actijt.fsf@xps.des.no>
In-Reply-To: <200603290420.k2T4KsNs095600@repoman.freebsd.org> (Daniel Eischen's message of "Wed, 29 Mar 2006 04:20:54 %2B0000 (UTC)")
References:  <200603290420.k2T4KsNs095600@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Eischen <deischen@FreeBSD.org> 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".

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k6actijt.fsf>