mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
Run InitTask in the worker thread (same as all other state handlers).
This commit is contained in:
committed by
Mohammad Al-Turany
parent
bfb9feab03
commit
6349438829
@@ -482,8 +482,7 @@ class FairMQDevice : public FairMQStateMachine, public FairMQConfigurable
|
||||
virtual void Init();
|
||||
|
||||
/// Task initialization (can be overloaded in child classes)
|
||||
/// Executed in a worker thread (currently runs in main thread as workaround for multithread-aware FairRunAna/Sim implementation)
|
||||
// TODO: fix this to also run in worker thread, or change all callbacks to be run in the main thread?
|
||||
/// Executed in a worker thread
|
||||
virtual void InitTask();
|
||||
|
||||
/// Runs the device (to be overloaded in child classes)
|
||||
|
Reference in New Issue
Block a user