On Thu, Mar 30, 2006, Ted Unangst wrote:
> On 3/30/06, Claus Assmann <[EMAIL PROTECTED]> wrote:

[does pthread_mutex_destroy() clean up properly if the mutex is
not on the stack?]

> it should, unless the mutex is held, in which case it returns EBUSY. 
> are you checking for that?

I just added an assertion and it doesn't trigger (as I free/invalidate
the whole struct and every access checks a "magic token" it would
have caused an assertion failure anyway).

Do you have other suggestions of what I should look for?
Thanks!

Reply via email to