Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2007 06:25:57 +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/include pthread_np.h src/lib/libthr/thread thr_mutex.c thr_private.h src/lib/libthr pthread.map
Message-ID:  <200712140625.lBE6PviN002629@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidxu     2007-12-14 06:25:57 UTC

  FreeBSD src repository

  Modified files:
    include              pthread_np.h 
    lib/libthr/thread    thr_mutex.c thr_private.h 
    lib/libthr           pthread.map 
  Log:
  1. Add function pthread_mutex_setspinloops_np to turn a mutex's spin
     loop count.
  2. Add function pthread_mutex_setyieldloops_np to turn a mutex's yield
     loop count.
  3. Make environment variables PTHREAD_SPINLOOPS and PTHREAD_YIELDLOOPS
     to be only used for turnning PTHREAD_MUTEX_ADAPTIVE_NP mutex.
  
  Revision  Changes    Path
  1.18      +4 -0      src/include/pthread_np.h
  1.20      +8 -0      src/lib/libthr/pthread.map
  1.65      +104 -29   src/lib/libthr/thread/thr_mutex.c
  1.81      +2 -0      src/lib/libthr/thread/thr_private.h



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