Просмотр исходного кода

Merge pull request #76754 from RandomShaper/mq_less_lock

Avoid redundant locking in CallQueue
Rémi Verschelde 2 лет назад
Родитель
Сommit
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;