Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2001 23:43:02 -0400
From:      David Petrou <dpetrou@cs.cmu.edu>
To:        freebsd-hackers@freebsd.org
Subject:   what #define for thread-safeness?
Message-ID:  <20010626234302.E68913@amant.pdl.cs.cmu.edu>

next in thread | raw e-mail | index | archive | help
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.

thanks,
david

p.s.: please also respond to me since i'm not subscribed to this list.

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?20010626234302.E68913>