浏览代码

Merge pull request #76754 from RandomShaper/mq_less_lock

Avoid redundant locking in CallQueue
Rémi Verschelde 2 年之前
父节点
当前提交
353efd774f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;