diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-08 12:20:53 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-08 12:20:53 +0200 |
commit | 353efd774fe323f124180fda8dae2f1af018aea1 (patch) | |
tree | 811e34a62f4d516c5854cdfae7b68849ddb11188 /core/object/message_queue.h | |
parent | fe6cd734ad17fe838d9c080e1538db5d43272e49 (diff) | |
parent | 5a0c186bc06023e9c54b1deb4965fbdcb3607ae5 (diff) | |
download | redot-engine-353efd774fe323f124180fda8dae2f1af018aea1.tar.gz |
Merge pull request #76754 from RandomShaper/mq_less_lock
Avoid redundant locking in CallQueue
Diffstat (limited to 'core/object/message_queue.h')
-rw-r--r-- | core/object/message_queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/message_queue.h b/core/object/message_queue.h index 68969dfd39..2349c6d869 100644 --- a/core/object/message_queue.h +++ b/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; |