Bug with pthread_getspecific() and signals

David Xu davidxu at freebsd.org
Sun Apr 17 18:11:20 PDT 2005


Archie Cobbs wrote:

> On FreeBSD 4.9 I'm seeing a bug where pthread_getspecific() sometimes
> returns the wrong value when invoked from within a signal handler.
>
> ISTR this bug was fixed in a later version of FreeBSD. However, I can't
> seem to find any reference to the bug, any information about when
> it was fixed, etc. (FreeBSD's mailing list search ability doesn't
> help much).
>
> If anyone knows any more details about this bug I'd appreciate knowing
> any more details.
>
> Thanks,
> -Archie
>
> __________________________________________________________________________ 
>
> Archie Cobbs      *        CTO, Awarix        *      
> http://www.awarix.com


Does POSIX say that pthread_getspecific can be used in signal handler ?

David Xu



More information about the freebsd-threads mailing list