cvs commit: src/include pthread_np.h src/lib/libthr src/lib/libthr/thread thr_mutex.c

Dag-Erling Smorgrav des at
Sun Feb 3 14:38:11 PST 2008

des         2008-02-03 22:38:10 UTC

  FreeBSD src repository

  Modified files:
    include              pthread_np.h 
    lib/libthr/thread    thr_mutex.c 
  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/
  1.67      +16 -0     src/lib/libthr/thread/thr_mutex.c

More information about the cvs-src mailing list