Skip to content
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

Conversation

dkroenke
Copy link
Member

@dkroenke dkroenke commented Jul 3, 2020

No description provided.

Killat Matthias (CC-AD/ESW1) and others added 2 commits July 3, 2020 14:49
… initialized after destroy or move

Signed-off-by: Kroenke Dietrich (CC-AD/ESW1) <[email protected]>
@dkroenke dkroenke added the bug Something isn't working label Jul 3, 2020
@dkroenke dkroenke linked an issue Jul 3, 2020 that may be closed by this pull request
@elBoberido
Copy link
Member

could you maybe rebase on master? The 20e00f4 commit already went in with #150

@orecham
Copy link
Contributor

orecham commented Jul 6, 2020

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,
Copy link
Contributor

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
Copy link
Contributor

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
    };

@dkroenke dkroenke closed this Jul 6, 2020
@dkroenke dkroenke deleted the iox-#171-Roudi-message-queue-thread-startup branch July 6, 2020 14:45
@dkroenke dkroenke restored the iox-#171-Roudi-message-queue-thread-startup branch July 6, 2020 15:05
@dkroenke dkroenke deleted the iox-#171-Roudi-message-queue-thread-startup branch July 6, 2020 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Roudi message queue thread startup
3 participants