From owner-freebsd-questions Thu Oct 26 14:45:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id D782F37B4C5 for ; Thu, 26 Oct 2000 14:45:18 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.11.1/8.11.1) id e9QLjHs11510; Thu, 26 Oct 2000 16:45:17 -0500 (CDT) (envelope-from dan) Date: Thu, 26 Oct 2000 16:45:17 -0500 From: Dan Nelson To: Flemming Froekjaer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: What's the deal with _THREAD_SAFE? Message-ID: <20001026164517.A11415@dan.emsphone.com> References: <0E205B64.7BDA2B7E.0F2A144B@netscape.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.10i In-Reply-To: <0E205B64.7BDA2B7E.0F2A144B@netscape.net>; from "Flemming Froekjaer" on Thu Oct 26 17:20:28 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Oct 26), Flemming Froekjaer said: > I'm trying to use the functions in , but after much > aggavation I've found that I can't unless _THREAD_SAFE is defined. > Now, do I have to define it in my own header file, or do I include > some other header file where it's defined, and if so, which one? Compiling with the -pthread gcc switch should be sufficient. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message