mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Revert "[network] Improve thread-safety of cache entry handling."
This reverts commit 9299c2e2ea.
This commit is contained in:
parent
3636940b3a
commit
1d6c0f2e87
8 changed files with 105 additions and 141 deletions
|
|
@ -115,8 +115,6 @@ private:
|
|||
|
||||
mozilla::Monitor mMonitor;
|
||||
PRThread* mThread;
|
||||
// Only set in Init(), before the thread is started, which reads it but never
|
||||
// writes
|
||||
UniquePtr<detail::BlockingIOWatcher> mBlockingIOWatcher;
|
||||
Atomic<nsIThread *> mXPCOMThread;
|
||||
Atomic<uint32_t, Relaxed> mLowestLevelWaiting;
|
||||
|
|
@ -130,7 +128,7 @@ private:
|
|||
// Raised when nsIEventTarget.Dispatch() is called on this thread
|
||||
Atomic<bool, Relaxed> mHasXPCOMEvents;
|
||||
// See YieldAndRerun() above
|
||||
bool mRerunCurrentEvent; // Only accessed on the cache thread
|
||||
bool mRerunCurrentEvent;
|
||||
// Signal to process all pending events and then shutdown
|
||||
// Synchronized by mMonitor
|
||||
bool mShutdown;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue