Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2008 12:35:23 +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/tools/regression/pthread/mutex_islocked_np mutex_islocked_np.c src/lib/libthr/thread thr_mutex.c
Message-ID:  <200802041235.m14CZND0067121@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
des         2008-02-04 12:35:23 UTC

  FreeBSD src repository

  Modified files:
    tools/regression/pthread/mutex_islocked_np mutex_islocked_np.c 
    lib/libthr/thread    thr_mutex.c 
  Log:
  After careful consideration (and a brief discussion with attilio@), change
  the semantics of pthread_mutex_islocked_np() to return true if and only if
  the mutex is held by the current thread.
  
  Obviously, change the regression test to match.
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.68      +1 -1      src/lib/libthr/thread/thr_mutex.c
  1.2       +2 -2      src/tools/regression/pthread/mutex_islocked_np/mutex_islocked_np.c



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