cvs commit: src/tools/regression/pthread/mutex_islocked_np
mutex_islocked_np.c src/lib/libthr/thread thr_mutex.c
Dag-Erling Smorgrav
des at FreeBSD.org
Mon Feb 4 04:35:23 PST 2008
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
More information about the cvs-src
mailing list