Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 13:21:56 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        src-committers@freebsd.org
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   Re: svn commit: r262221 - in stable: 8/lib/libthr/thread 9/lib/libthr/thread
Message-ID:  <201402191321.56516.jhb@freebsd.org>
In-Reply-To: <201402191500.s1JF0u1v085053@svn.freebsd.org>
References:  <201402191500.s1JF0u1v085053@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402191321.56516.jhb>