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

Re: pthread_atfork()

On Sat, 2007-12-22 at 01:35 +0000, Samuel Thibault wrote:
> Hello,
> At least in pike7.6, ./configure detects pthread_atfork() and then the
> resulting program uses it, and fails because for now our implementation
> is
> return ENOSYS;
> If we weren't providing the function, pike would manage to work without
> it. So until we have a proper implementation maybe we should add a
> debian patch that drops the function, so as to have circumvents such as
> pike's enabled?
> (people wouldn't expect such function to fail, so having a stub that
> returns ENOSYS may be asking for troubles).

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.


Reply to: