Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2010 09:25:29 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/include pthread.h src/lib/libthr/thread thr_cond.c thr_init.c thr_mutex.c thr_private.h thr_rwlock.c
Message-ID:  <201010260927.o9Q9RCpK027932@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidxu     2010-10-26 09:25:29 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    include              pthread.h 
    lib/libthr/thread    thr_cond.c thr_init.c thr_mutex.c 
                         thr_private.h thr_rwlock.c 
  Log:
  SVN rev 214371 on 2010-10-26 09:25:29Z by davidxu
  
  MFC r213241, r213257:
  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.
  
  Revision  Changes    Path
  1.44.2.2  +1 -1      src/include/pthread.h
  1.25.2.2  +21 -16    src/lib/libthr/thread/thr_cond.c
  1.51.2.2  +6 -0      src/lib/libthr/thread/thr_init.c
  1.75.2.2  +103 -118  src/lib/libthr/thread/thr_mutex.c
  1.95.2.3  +10 -0     src/lib/libthr/thread/thr_private.h
  1.16.2.2  +25 -58    src/lib/libthr/thread/thr_rwlock.c



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