This is an archive of the discontinued LLVM Phabricator instance.

sanitizer_common: rename Mutex to MutexState
ClosedPublic

Authored by dvyukov on Jul 11 2021, 5:22 AM.

Details

Summary

We have 3 different mutexes (RWMutex, BlockingMutex __tsan::Mutex),
each with own set of downsides. I want to unify them under a name Mutex.
But it will conflict with Mutex in the deadlock detector,
which is a way too generic name. Rename it to MutexState.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Jul 11 2021, 5:22 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2021, 5:22 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Jul 12 2021, 1:19 AM
This revision is now accepted and ready to land.Jul 12 2021, 1:19 AM
dvyukov updated this revision to Diff 357870.Jul 12 2021, 2:23 AM

fix Go build

This revision was landed with ongoing or failed builds.Jul 12 2021, 2:23 AM
This revision was automatically updated to reflect the committed changes.