svn commit: r262221 - in stable: 8/lib/libthr/thread 9/lib/libthr/thread

John Baldwin jhb at freebsd.org
Wed Feb 19 18:58:34 UTC 2014


On Wednesday, February 19, 2014 10:00:56 am John Baldwin wrote:
> Author: jhb
> Date: Wed Feb 19 15:00:55 2014
> New Revision: 262221
> URL: http://svnweb.freebsd.org/changeset/base/262221
> 
> Log:
>   MFC 250691:
>   Return one-based key so that user can check if the key is ever allocated
>   in the first place.

This also works around potential application bugs if an application calls
pthread_key_delete() on an uninitialized key.  (QT 4.7 is one such offender)

-- 
John Baldwin


More information about the svn-src-all mailing list