Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 20:03:37 -0500 (EST)
From:      Daniel Eischen <eischen@pcnet1.pcnet.com>
To:        Max Khon <fjoe@iclub.nsu.ru>
Cc:        "M. Warner Losh" <imp@bsdimp.com>, ben@timing.com, freebsd-arch@freebsd.org
Subject:   Re: _REENTRANT in math.h & libm oddities.
Message-ID:  <Pine.GSO.4.10.10301231957440.12250-100000@pcnet1.pcnet.com>
In-Reply-To: <20030124065210.B44070@iclub.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 Jan 2003, Max Khon wrote:
> hi, there!
> 
> On Thu, Jan 23, 2003 at 02:49:33PM -0700, M. Warner Losh wrote:
> 
> > : I removed a lot of the _THREAD_SAFE stuff a couple of years ago,
> > : but it wasn't complete removed.  -stable might be worse off.
> > 
> > In a newish tree it looks like there are only 3 'real' places where
> > we're wrong:
> > 
> > find . -type f | xargs egrep _THREAD_SAFE
> > 
> > code:
> > 
> > ./contrib/ntp/ntpd/refclock_pcf.c:#if defined(_REENTRANT) || defined(_THREAD_SAFE)
> 
> this is contrib
> 
> > ./include/rpc/clnt.h:#ifdef _THREAD_SAFE
> > ./include/rpc/clnt.h:#endif /* _THREAD_SAFE */
> 
> this should be removed (only _THREAD_SAFE should be left)
> I'll take care if there will be no objections
> 
> > ./lib/libc_r/sys/uthread_error.c:#ifdef _THREAD_SAFE
> > ./lib/libpthread/sys/thr_error.c:#ifdef _THREAD_SAFE
> > ./lib/libc_r/Makefile:CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE 
> > ./lib/libmilter/Makefile:CFLAGS+=-D_THREAD_SAFE
> > ./lib/libpthread/Makefile:CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE 
>  
> this can be safely removed
> I'll take care if there will be no objections

Knock yourself out (proceed) :-)

-- 
Dan Eischen


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10301231957440.12250-100000>