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

Re: pthread_atfork()



On Fri, 2007-12-28 at 01:14 +0000, Samuel Thibault wrote:
> Thomas Bushnell BSG, le Mon 24 Dec 2007 15:45:17 -0500, a écrit :
> > On Sun, 2007-12-23 at 21:53 +0100, Samuel Thibault wrote:
> > > Thomas Bushnell BSG, le Fri 21 Dec 2007 21:10:12 -0500, a écrit :
> > > > We are supposed to gave libc #defines that say that a function is a stub
> > > > when it just returns ENOSYS, which configure checks for.  Or something
> > > > like that.
> > > 
> > > You mean the configure of those programs that try to use
> > > pthread_atfork()?
> > 
> > Yes.  This is how it works for other functions in general.  
> 
> Ah, you mean in <gnu/stubs.h> I guess?  However, that's a GNU extension,
> which pike7.6 will most probably not want to depend on.

It's using *configure*.  That's a GNU thing already.  If it's using
configure, and not wanting to do gnu things, then there is no reason to
fret about them further.

Are you aware that every autoconf-using program *already* does this,
automatically?

Thomas



Reply to: