From owner-freebsd-threads@FreeBSD.ORG Thu Mar 25 16:27:04 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C54ED16A4CE; Thu, 25 Mar 2004 16:27:04 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4284B43D46; Thu, 25 Mar 2004 16:27:04 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i2Q0Qrtf022140; Thu, 25 Mar 2004 19:26:55 -0500 (EST) Date: Thu, 25 Mar 2004 19:26:53 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: David Malone In-Reply-To: <200403252200.aa94482@salmon.maths.tcd.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: niallm@enigma.ie cc: nectar@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: Threads and OpenSSL X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 00:27:04 -0000 On Thu, 25 Mar 2004, David Malone wrote: > > > CFLAGS+= -DTERMIOS -DANSI_SOURCE > > > CFLAGS+= -I${LCRYPTO_SRC} -I${LCRYPTO_SRC}/crypto -I${.OBJDIR} > > > +CFLAGS+= -DOPENSSL_THREADS -pthread -D_REENTRANT -D_THREAD_SAFE -D_TH > > > You don't need _REENTRANT, _THREAD_SAFE, or _THREADSAFE for > > our libc. > > OK - I'll check they don't change anything in the OpenSSL code, and > if they don't I'll remove them. (I think the flags were originally > selected by a configure script somewhere...) > > Is it right to keep -pthread? I think it is OK since we have said that we are going to support gcc -pthread. -lpthread is preferred, though. -- Dan Eischen