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

David Xu davidxu at
Sun Mar 30 19:55:51 PDT 2008

davidxu     2008-03-31 02:55:50 UTC

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_cond.c thr_private.h thr_rwlock.c 
  Rewrite rwlock to user atomic operations to change rwlock state, this
  eliminates internal mutex lock contention when most rwlock operations
  are read.
  Orignal patch provided by: jeff
  Revision  Changes    Path
  1.24      +53 -0     src/lib/libthr/thread/thr_cond.c
  1.86      +5 -1      src/lib/libthr/thread/thr_private.h
  1.11      +222 -139  src/lib/libthr/thread/thr_rwlock.c

More information about the cvs-src mailing list