[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Two questions about policy

On Tue, 3 Oct 2000, Sean 'Shaleh' Perry wrote:

> > So, let's say the package is build with --disable-threads. I should still
> > use -D_REENTRANT for the libraries since even though they don't use threads
> > themselves they may be used by applications that do use threads. And then I
> > should not use -D_REENTRANT for the applications themselves since
> > --disable-threads say they won't use threads. But if I build with
> > --enable-threads then I should use -D_REENTRANT everywhere, right?
> > 
> that about covers it unless someone else wants to call me silly.

I could be wrong, but it seems to me like you might not want to define
REENTRANT if your library isn't.  There are many many libraries that are
not, one way or another.


Reply to: