mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Implement Reset signal
This commit is contained in:
committed by
Dennis Klein
parent
241bf08337
commit
ee890a7a46
@@ -54,9 +54,13 @@ auto Context::InitThreadPool(int numberIoThreads) -> void
|
||||
}
|
||||
}
|
||||
|
||||
Context::~Context()
|
||||
auto Context::Reset() -> void
|
||||
{
|
||||
fIoContext.stop();
|
||||
}
|
||||
|
||||
Context::~Context()
|
||||
{
|
||||
for (auto& thread : fThreadPool)
|
||||
thread.join();
|
||||
}
|
||||
|
Reference in New Issue
Block a user