Threads and OpenSSL

David Malone dwmalone at maths.tcd.ie
Thu Mar 25 14:00:30 PST 2004


> >  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?

	David.


More information about the freebsd-threads mailing list