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

David Xu davidxu at FreeBSD.org
Sat Apr 8 13:24:45 UTC 2006


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


More information about the cvs-src mailing list