Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 2006 13:24:45 +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_mutex.c thr_private.h
Message-ID:  <200604081324.k38DOjU5048092@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidxu     2006-04-08 13:24:44 UTC

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_cond.c thr_mutex.c thr_private.h 
  Log:
  Do not check validity of timeout if a mutex can be acquired immediately.
  Completly drop recursive mutex in pthread_cond_wait and restore recursive
  after resumption. Reorganize code to make gcc to generate better code.
  
  Revision  Changes    Path
  1.18      +12 -11    src/lib/libthr/thread/thr_cond.c
  1.42      +89 -67    src/lib/libthr/thread/thr_mutex.c
  1.61      +2 -2      src/lib/libthr/thread/thr_private.h



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