瀏覽代碼

Avoid redundant locking in CallQueue

Pedro J. Estébanez 2 年之前
父節點
當前提交
5a0c186bc0
共有 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;