-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iox #171 roudi message queue thread startup #172
Iox #171 roudi message queue thread startup #172
Conversation
Signed-off-by: Kroenke Dietrich (CC-AD/ESW1) <[email protected]>
… initialized after destroy or move Signed-off-by: Kroenke Dietrich (CC-AD/ESW1) <[email protected]>
No description ? |
RouDiMultiProcess& operator=(const RouDiMultiProcess& other) = delete; | ||
RouDiMultiProcess(const RouDiMultiProcess& other) = delete; | ||
|
||
RouDiMultiProcess(RouDiMemoryInterface& roudiMemoryInteface, | ||
PortManager& portManager, | ||
const MonitoringMode f_monitoringMode = MonitoringMode::ON, | ||
const bool f_killProcessesInDestructor = true); | ||
const bool f_killProcessesInDestructor = true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very minor but the variable is inconsistent with the .cpp
.
killProcessesInDestructor
vs f_killProcessesInDestructor
.
// this is important for derived classes which may need to initialize their members before the thread starts | ||
enum class MQThreadMode { | ||
START, | ||
DEFER_START |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This option seems redundant since the deferred start is not managed by this class. Could we get away with just the one option?
I would also suggest a slightly more descriptive name like:
enum class MQThreadMode {
IMMEDIATE_START
};
No description provided.