Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2010 09:31:59 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r213241 - in head: include lib/libthr/thread
Message-ID:  <201009280931.59163.jhb@freebsd.org>
In-Reply-To: <201009280457.o8S4vuS9060037@svn.freebsd.org>
References:  <201009280457.o8S4vuS9060037@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, September 28, 2010 12:57:56 am David Xu wrote:
> Author: davidxu
> Date: Tue Sep 28 04:57:56 2010
> New Revision: 213241
> URL: http://svn.freebsd.org/changeset/base/213241
> 
> Log:
>   In current code, statically initialized and destroyed object have
>   same null value, the code can not distinguish between them, to
>   fix the problem, now a destroyed object is assigned to a non-null
>   value, and it will be rejected by some pthread functions.
>   PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is changed to number 1, so that
>   adaptive mutex can be statically initialized correctly.

Does this fix PR threads/150889 then?

-- 
John Baldwin



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