-
Notifications
You must be signed in to change notification settings - Fork 0
Publisher-Subscriber To Exchange Messages Between Different Tasks #6
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
base: master
Are you sure you want to change the base?
Conversation
| * INCLUDES | ||
| ************************************/ | ||
| #include "PubSubSend.hpp" | ||
| #include "SystemDefines.hpp" |
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 include is also in PubSubSend.hpp like the file above.
| * INCLUDES | ||
| ************************************/ | ||
| #include "PubSubReceive.hpp" | ||
| #include "SystemDefines.hpp" |
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.
SystemDefines.hpp is included in PubSubReceive.hpp. Does it need to be included twice?
| break; | ||
|
|
||
| case DataBrokerMessageTypes::INVALID: | ||
| [[fallthrough]]; |
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.
is there a reason that this isn't a break statement?
| while (1) { | ||
| /* Process commands in blocking mode */ | ||
| Command cm; | ||
| bool res = qEvtQueue->ReceiveWait(cm); |
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.
putting this inside the if statement conditional would match syntax with the equivalent lines in the send task (line 63)
No description provided.