Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2008 02:55:50 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.c
Message-ID:  <200803310255.m2V2toJl053104@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 
  Log:
  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



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