charm
charm copied to clipboard
CmiDestroyLocks destroys a lock that the thread (or another) is holding
Original issue: https://charm.cs.illinois.edu/redmine/issues/540
// machine-smp.c machine_exit calling CmiDestroyLocks
SUMMARY: ThreadSanitizer: destroy of a locked mutex ??:0 pthread_mutex_destroy
Original date: 2014-10-21 18:11:37
I think this is called explicitly when we are aborting either due to handing some signal or if explicit die is called. Not sure of what to do to or if we need to prevent race condition.
Original date: 2014-11-09 16:47:53
As with #539, this can probably be deferred past 6.6.1.