summaryrefslogtreecommitdiff
path: root/indra/llcommon/threadpool.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-10-31 02:30:54 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-04-11 00:13:19 +0300
commit9117a37c3d1bd9741e599b60fdf000f9f174f72a (patch)
treefbdacb16debe1e9924deff7dfb1e231d3e64791a /indra/llcommon/threadpool.h
parentf52b281f00d398a630353fba2d8d0ae6b9efdcbd (diff)
Give control over thread queue's automatic shutdown
Diffstat (limited to 'indra/llcommon/threadpool.h')
-rw-r--r--indra/llcommon/threadpool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/threadpool.h b/indra/llcommon/threadpool.h
index edca52080d..ac4f415f3e 100644
--- a/indra/llcommon/threadpool.h
+++ b/indra/llcommon/threadpool.h
@@ -122,7 +122,7 @@ namespace LL
size_t threads=1,
size_t capacity=1024*1024,
bool auto_shutdown = true):
- ThreadPoolBase(name, threads, new queue_t(name, capacity), auto_shutdown)
+ ThreadPoolBase(name, threads, new queue_t(name, capacity, false), auto_shutdown)
{}
~ThreadPoolUsing() override {}