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

David Xu davidxu at FreeBSD.org
Mon Aug 28 04:52:51 UTC 2006


davidxu     2006-08-28 04:52:50 UTC

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_create.c thr_init.c thr_mutex.c 
                         thr_private.h 
  Log:
  Use umutex APIs to implement pthread_mutex, member pp_mutexq is added
  into pthread structure to keep track of locked PTHREAD_PRIO_PROTECT mutex,
  no real mutex code is changed, the mutex locking and unlocking code should
  has same performance as before.
  
  Revision  Changes    Path
  1.33      +1 -0      src/lib/libthr/thread/thr_create.c
  1.39      +1 -0      src/lib/libthr/thread/thr_init.c
  1.46      +100 -55   src/lib/libthr/thread/thr_mutex.c
  1.69      +14 -18    src/lib/libthr/thread/thr_private.h


More information about the cvs-src mailing list