summaryrefslogtreecommitdiffstats
path: root/core/templates/command_queue_mt.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2024-04-15 10:12:00 +0200
committerGitHub <noreply@github.com>2024-04-15 10:12:00 +0200
commitc951421c996467dcb7106a33774410a7b5258690 (patch)
tree10bf3ef87a62987b6303d7dca63adc809ebbb05b /core/templates/command_queue_mt.cpp
parenta44b0b6dc1ccd6dc364bb72c426e844d6c85744e (diff)
parent65686dedf9778e829287f63c7179a523d44fa085 (diff)
downloadredot-engine-c951421c996467dcb7106a33774410a7b5258690.tar.gz
Merge pull request #90268 from RandomShaper/wtp_servers
Use WorkerThreadPool for Server threads (enhanced)
Diffstat (limited to 'core/templates/command_queue_mt.cpp')
-rw-r--r--core/templates/command_queue_mt.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/templates/command_queue_mt.cpp b/core/templates/command_queue_mt.cpp
index 6ecd75ebc1..0c5c6394a1 100644
--- a/core/templates/command_queue_mt.cpp
+++ b/core/templates/command_queue_mt.cpp
@@ -70,14 +70,8 @@ CommandQueueMT::SyncSemaphore *CommandQueueMT::_alloc_sync_sem() {
return &sync_sems[idx];
}
-CommandQueueMT::CommandQueueMT(bool p_sync) {
- if (p_sync) {
- sync = memnew(Semaphore);
- }
+CommandQueueMT::CommandQueueMT() {
}
CommandQueueMT::~CommandQueueMT() {
- if (sync) {
- memdelete(sync);
- }
}