Subject: Re: pthread_mutex_unlock() question.
To: Andrew Gillham <>
From: Klaus Klein <>
List: netbsd-users
Date: 05/17/2003 19:29:04
Andrew Gillham <> writes:

> What I would like to know, is what is the proper way to check whether
> the mutex is already unlocked?

As has been pointed out already there is no "proper way" for an
application to do this, but one might be able to employ
pthread_mutex_trylock() in some way.

- Klaus