cvs commit: src/lib/libthr/thread thr_private.h thr_rwlock.c thr_umtx.c thr_umtx.h

David Xu davidxu at FreeBSD.org
Wed Apr 2 04:32:31 UTC 2008


davidxu     2008-04-02 04:32:31 UTC

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_private.h thr_rwlock.c thr_umtx.c 
                         thr_umtx.h 
  Log:
  Replace userland rwlock with a pure kernel based rwlock, the new
  implementation does not switch pointers when it resumes waiters.
  
  Asked by: jeff
  
  Revision  Changes    Path
  1.87      +1 -6      src/lib/libthr/thread/thr_private.h
  1.14      +93 -217   src/lib/libthr/thread/thr_rwlock.c
  1.14      +24 -0     src/lib/libthr/thread/thr_umtx.c
  1.12      +81 -0     src/lib/libthr/thread/thr_umtx.h


More information about the cvs-src mailing list