mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 1122070 - TSan: data race netwerk/cache2/CacheIOThread.cpp:97 DispatchInternal, r=honzab
This commit is contained in:
parent
7531d9be17
commit
30fb016392
@ -12,6 +12,7 @@
|
||||
#include "nsAutoPtr.h"
|
||||
#include "mozilla/Monitor.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/Atomics.h"
|
||||
|
||||
class nsIRunnable;
|
||||
|
||||
@ -88,7 +89,7 @@ private:
|
||||
mozilla::Monitor mMonitor;
|
||||
PRThread* mThread;
|
||||
nsCOMPtr<nsIThread> mXPCOMThread;
|
||||
uint32_t mLowestLevelWaiting;
|
||||
Atomic<uint32_t, Relaxed> mLowestLevelWaiting;
|
||||
uint32_t mCurrentlyExecutingLevel;
|
||||
nsTArray<nsCOMPtr<nsIRunnable> > mEventQueue[LAST_LEVEL];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user