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

From: David Xu <davidxu_at_FreeBSD.org>
Date: Thu, 29 May 2008 07:57:33 +0000 (UTC)
davidxu     2008-05-29 07:57:33 UTC

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_init.c thr_mutex.c thr_private.h 
  Log:
  - Reduce function call overhead for uncontended case.
  - Remove unused flags MUTEX_FLAGS_* and their code.
  - Check validity of the timeout parameter in mutex_self_lock().
  
  Revision  Changes    Path
  1.51      +1 -2      src/lib/libthr/thread/thr_init.c
  1.74      +101 -203  src/lib/libthr/thread/thr_mutex.c
  1.94      +0 -10     src/lib/libthr/thread/thr_private.h
Received on Thu May 29 2008 - 07:57:34 UTC