Browse Source

Merge pull request #76754 from RandomShaper/mq_less_lock

Avoid redundant locking in CallQueue
Rémi Verschelde 2 năm trước cách đây
mục cha
commit
353efd774f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;