From owner-freebsd-hackers Tue Jun 26 20:44:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from amant.pdl.cs.cmu.edu (AMANT.PDL.CS.CMU.EDU [128.2.189.84]) by hub.freebsd.org (Postfix) with ESMTP id 2E53637B401 for ; Tue, 26 Jun 2001 20:44:34 -0700 (PDT) (envelope-from dpetrou@amant.pdl.cs.cmu.edu) Received: (from dpetrou@localhost) by amant.pdl.cs.cmu.edu (8.11.1/8.11.1) id f5R3h2W69094 for freebsd-hackers@freebsd.org; Tue, 26 Jun 2001 23:43:02 -0400 (EDT) (envelope-from dpetrou) Date: Tue, 26 Jun 2001 23:43:02 -0400 From: David Petrou To: freebsd-hackers@freebsd.org Subject: what #define for thread-safeness? Message-ID: <20010626234302.E68913@amant.pdl.cs.cmu.edu> Reply-To: dpetrou@cs.cmu.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Hit-Pick: Philip Glass / Songs From Liquid Days Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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