mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1190985 - Fix data race in DebugMutexAutoLock r=mcmanus
This commit is contained in:
parent
2bec2e6c53
commit
b8854de4b0
@ -58,10 +58,10 @@ public:
|
||||
|
||||
private:
|
||||
Mutex *mLock;
|
||||
static PRThread *sDebugOwningThread;
|
||||
static Atomic<PRThread *, Relaxed> sDebugOwningThread;
|
||||
};
|
||||
|
||||
PRThread *DebugMutexAutoLock::sDebugOwningThread = nullptr;
|
||||
Atomic<PRThread *, Relaxed> DebugMutexAutoLock::sDebugOwningThread;
|
||||
|
||||
DebugMutexAutoLock::DebugMutexAutoLock(Mutex& mutex)
|
||||
:mLock(&mutex)
|
||||
|
Loading…
Reference in New Issue
Block a user