-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
operations: improve OperationCallerInterface::isSend() for master-sla…
…ve calls This is a combination of 3 commits. The first commit's message is: operations: assert if the caller is not set and improve isSend isSend now only returns true if the thread differs, not just the EE. So that it also does not send in case of a master-slave call. Signed-off-by: Peter Soetens <peter@intermodalics.eu> This is the 2nd commit message: operations: fixup isSend() logic to also work if no caller is known. Signed-off-by: Peter Soetens <peter@intermodalics.eu> This is the 3rd commit message: operations: improved isSend implementation that does not need caller As suggested by @meyerj, we can use isSelf() instead of comparing threads. Signed-off-by: Peter Soetens <peter@intermodalics.eu>
- Loading branch information
Showing
3 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters