summaryrefslogtreecommitdiff
path: root/indra/llcommon/workqueue.h
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-04-25 21:32:04 +0800
committerErik Kundiman <erik@megapahit.org>2025-04-25 21:32:04 +0800
commitb74c8ee3fee8dd640f40250ed09f213afa72cefc (patch)
treecdad4aa47d4c669292591154b9c3bc1851629dd6 /indra/llcommon/workqueue.h
parent0dd799f109760f00103a6c58b437aaf3148adc75 (diff)
parentec6c988bbbc59aed218d3629bf0c13192f6b726c (diff)
Merge tag 'Second_Life_Release#ec6c988-2025.05' into 2025.052025.05
Diffstat (limited to 'indra/llcommon/workqueue.h')
-rw-r--r--indra/llcommon/workqueue.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/workqueue.h b/indra/llcommon/workqueue.h
index d424ca6e1c..735ad38a26 100644
--- a/indra/llcommon/workqueue.h
+++ b/indra/llcommon/workqueue.h
@@ -53,6 +53,8 @@ namespace LL
*/
WorkQueueBase(const std::string& name, bool auto_shutdown);
+ virtual ~WorkQueueBase();
+
/**
* Since the point of WorkQueue is to pass work to some other worker
* thread(s) asynchronously, it's important that it continue to exist
@@ -197,6 +199,9 @@ namespace LL
private:
virtual Work pop_() = 0;
virtual bool tryPop_(Work&) = 0;
+
+ // Name used for the LLApp event listener (empty if not registered)
+ std::string mListenerName;
};
/*****************************************************************************