[Top][All Lists]

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

Re: dlerror sets errno to ENOSYS

From: Samuel Thibault
Subject: Re: dlerror sets errno to ENOSYS
Date: Mon, 7 Mar 2016 01:41:27 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Diego Nieto Cid, on Sun 06 Mar 2016 21:11:58 -0300, wrote:
> The problem with the function as it is, is that by calling 
> cthread_getspecific it forces dlerror to clobber errno; and then the console 
> client is in trouble.
> May I do as below?
>    void *val = NULL;
>    if ( _cthread_init_routine)

     if (&_cthread_init_routine && _cthread_init_routine)

>      cthread_getspecific (key, &val);
>    return val;

but yes.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]