[asterisk-dev] pthread_getspecific() in app_voicemail

Russell Bryant russell at digium.com
Thu Apr 16 08:48:16 CDT 2009


Mark Sirota wrote:
> --On 2009-04-15 5:20 PM -0500 Tilghman Lesher 
> <tilghman at mail.jeffandtilghman.com> wrote:
>> According to the POSIX specification (and the
>> Linux manpage), pthread_getspecific() should return NULL if
>> pthread_setspecific() is not called first.
> 
> Hmm.  If it returned NULL then (I think) all would be well, but 
> unfortunately it isn't.  I'll investigate further...



More information about the asterisk-dev mailing list