-
Notifications
You must be signed in to change notification settings - Fork 44
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
One NodeShared per process #139
Conversation
Signed-off-by: Juan Oxoby <[email protected]>
src/NodeShared.cc
Outdated
// Create a new instance of NodeShared if the process has changed | ||
// (maybe after fork?) so the ZMQ context is not shared between different | ||
// processes. | ||
if (instance == nullptr || instance->pUuid != Uuid().ToString()) |
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.
We may want to make this Uuid
comparison faster
Thanks for the contribution. I've been doing some testing and I have two major concerns:
The expression
|
Hi Carlos,
|
Do you mind to update this pull request with a working prototype? It'll help to wrap my head around it. Thanks! |
With the last change, the |
I'll decline this pull request for now until there's a better patch that keeps all tests and examples working. Feel free to reopen if that's the case. |
https://github.com/orgs/ignitionrobotics/projects/3#card-38255453