Pārlūkot izejas kodu

Merge pull request #76754 from RandomShaper/mq_less_lock

Avoid redundant locking in CallQueue
Rémi Verschelde 2 gadi atpakaļ
vecāks
revīzija
353efd774f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      core/object/message_queue.h

+ 1 - 1
core/object/message_queue.h

@@ -61,7 +61,7 @@ private:
 	};
 
 	Mutex mutex;
-	typedef PagedAllocator<Page, true> Allocator;
+	typedef PagedAllocator<Page, false> Allocator;
 
 	Allocator *allocator = nullptr;
 	bool allocator_is_custom = false;