threadpool icon indicating copy to clipboard operation
threadpool copied to clipboard

Destroying a locked mutex is undefined behaviour

Open pointhi opened this issue 7 years ago • 0 comments

https://linux.die.net/man/3/pthread_mutex_destroy

Attempting to destroy a locked mutex results in undefined behavior. 

Bug found with ThreadSanitizer

pointhi avatar Jul 16 '18 11:07 pointhi