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 _______________________________________________ svn-src-stable-9@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9 To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"