cvs commit: src/tools/regression/pthread/mutex_islocked_np mutex_islocked_np.c src/lib/libthr/thread thr_mutex.c

Attilio Rao attilio at freebsd.org
Mon Feb 4 05:11:14 PST 2008


2008/2/4, Dag-Erling Smorgrav <des at freebsd.org>:
> 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.

Great, thanks!

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the cvs-all mailing list