Quiet TSAN during exit

Former-commit-id: fd710d590a6297b74e06ce6832dd75bfca0a266f
This commit is contained in:
John Sully 2020-05-24 12:45:10 -04:00
parent 70f3eab882
commit 975ca828d4

View File

@ -194,8 +194,9 @@ static int futex(volatile unsigned *uaddr, int futex_op, int val,
class DeadlockDetector
{
fastlock m_lock { "deadlock detector" }; // destruct this first
std::map<pid_t, fastlock *> m_mapwait;
fastlock m_lock { "deadlock detector" };
public:
void registerwait(fastlock *lock, pid_t thispid)
{