apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@ebuilt.com>
Subject Re: [PATCH] Allow use of pthread related code without threads.
Date Thu, 26 Jul 2001 23:54:17 GMT
On Thu, Jul 26, 2001 at 04:31:53PM -0700, Aaron Bannert wrote:
> Does having threads mean we require _REENTRANT to be defined
> (on Solaris)? My followup to that question is: does having _REENTRANT
> defined change the way anything operates in a way that we aren't
> expecting?

It must be defined regardless of threads, since no library that is
compiled with _REENTRANT can be used by code that is not compiled with
_REENTRANT, and vice versa.  The symbol modifies the definition of errno.
We always need to define it because things like PHP will always define it.


View raw message