On Thu, Jun 20, 2002 at 01:53:57AM +0100, Philip Martin wrote: > Attempting to unlock an unlocked mutex is probably harmless on some > (all?) pthread implementations, but I don't think it's good practice > to do it. What benefit can there be? If there is a reason for doing > it, then such use of undefined behaviour should be documented. As it > currently stands, an application that quite properly ensures that its > mutexes are not in use when they are destroyed unwittingly invokes > undefined behaviour.
Committed, thanks. -aaron
