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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"