bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] libthreads: mutex_lock holder debugging


From: Sergio Lopez
Subject: Re: [PATCH] libthreads: mutex_lock holder debugging
Date: Thu, 20 May 2010 00:37:48 +0200

El Wed, 19 May 2010 16:27:07 +0200
Samuel Thibault <samuel.thibault@gnu.org> escribió:

> Hello,
> 
> Sergio Lopez, le Fri 14 May 2010 12:35:41 +0200, a écrit :
> > I've preferred to create a new definition conditional instead of
> > using WAIT_DEBUG, since this one changes cproc_t structure size.
> 
> Mmm, I don't think it'd be a problem, since the cproc_t structure is
> not exposed to users of libthreads.
> 

Yes, you're right. Anyway, WAIT_DEBUG would imply a call to
cthread_self for each mutex_lock(), so I still prefer to be able to
enable function name tracking only.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]