[asterisk-dev] pthread_getspecific() in app_voicemail

Mark Sirota msirota at isc.upenn.edu
Wed Apr 15 18:33:10 CDT 2009


--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...

Mark



More information about the asterisk-dev mailing list