Date: Wed, 27 Jun 2001 05:01:21 -0500 From: Will Andrews <will@physics.purdue.edu> To: David Petrou <dpetrou@cs.cmu.edu> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: what #define for thread-safeness? Message-ID: <20010627050121.B97456@bohr.physics.purdue.edu> In-Reply-To: <20010626234302.E68913@amant.pdl.cs.cmu.edu>; from dpetrou@cs.cmu.edu on Tue, Jun 26, 2001 at 11:43:02PM -0400 References: <20010626234302.E68913@amant.pdl.cs.cmu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 26, 2001 at 11:43:02PM -0400, David Petrou (dpetrou@cs.cmu.edu) wrote: > Hi. On linux, I know that when compiling threaded code I need to > #define _REENTRANT. What's the right thing to do on FreeBSD? I've > searched around the FreeBSD pages and have come up empty. I googled > around and found a post from a Mozilla page recommending I #define > _THREAD_SAFE. I'd just like an authoratative answer so I don't get > bit by some weirdness down the line. -D_THREAD_SAFE is right. FreeBSD uses it in the ports collection. -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010627050121.B97456>