Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2008 22:38:10 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@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 pthread.map src/lib/libthr/thread thr_mutex.c
Message-ID:  <200802032238.m13McAbf065324@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
des         2008-02-03 22:38:10 UTC

  FreeBSD src repository

  Modified files:
    include              pthread_np.h 
    lib/libthr           pthread.map 
    lib/libthr/thread    thr_mutex.c 
  Log:
  Add pthread_mutex_islocked_np(), a cheap way to verify that a mutex is
  locked.  This is intended primarily to support the userland equivalent
  of the various *_ASSERT_LOCKED() macros we have in the kernel.
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.19      +1 -0      src/include/pthread_np.h
  1.22      +15 -0     src/lib/libthr/pthread.map
  1.67      +16 -0     src/lib/libthr/thread/thr_mutex.c



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