Hello,

Sergio Lopez, le Fri 14 May 2010 12:35:41 +0200, a écrit :
> The original WAIT_DEBUG code in libthreads records the
> thread which is holding the lock, but this is not really usefull in
> Hurd's translators, since that thread is probably waiting for another
> message just as everyone else, thus hiding the path that forgot to
> unlock the mutex.
> 
> This patch changes mutex_lock/mutex_unlock macros to hold a pointer to
> the name of the function that holds the mutex.

As the old behavior may still be useful, I have preferred to rewrite
this to let the programmer decide one way or the other.

Samuel

Reply via email to