Destroys the mutex pointed to by cond.
cond
If there are threads waiting on mutex, the behavior is undefined.
mutex
(none)