svn commit: r213241 - in head: include lib/libthr/thread

Jung-uk Kim jkim at FreeBSD.org
Tue Sep 28 16:02:34 UTC 2010


On Tuesday 28 September 2010 09:31 am, John Baldwin wrote:
> 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?

It seems it does.

Thanks, David!

Jung-uk Kim


More information about the svn-src-all mailing list