[email protected] (Martin Husemann) writes:
>On Sun, May 17, 2015 at 06:15:00PM +0000, Michael van Elst wrote:
>> That's perfectly valid. pthread_getspecific is supposed to return NULL
>> until the specific data for the key has been set by a call to
>> pthread_setspecific.
>As long as the key has been created - which it has not in the case at hand,
>or pt_havespecific would be true!
How do you know that the key has not been created?
--
--
Michael van Elst
Internet: [email protected]
"A potential Snark may lurk in every tree."