Loader refactored (#235)

- Moved all Loader functionality into Loader class
- Improvement for Dispatcher construction
- Dispatcher and DispatcherThread: you can now specify the timeout when calling `dispatch()`. Default timeout is max timeout.
This commit is contained in:
Ken Van Hoeylandt
2025-02-23 16:08:00 +01:00
committed by GitHub
parent bd2786b122
commit de46401d85
8 changed files with 203 additions and 190 deletions
+3 -1
View File
@@ -35,7 +35,9 @@ public:
PubSub() = default;
~PubSub() {
tt_check(items.empty());
if (!items.empty()) {
TT_LOG_W("Loader", "Destroying PubSub with %d active subscriptions", items.size());
}
}
/** Start receiving messages at the specified handle (Threadsafe, Re-entrable)