-
Notifications
You must be signed in to change notification settings - Fork 9
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
1941 move EpochStack to TerminationDetector #1961
Merged
lifflander
merged 14 commits into
develop
from
1941-move-epoch-stack-to-terminationdetector
Sep 22, 2022
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
259e1bf
#1941: add EpochStack in termination.h
stmcgovern 684526d
#1941: add functionality to termination.impl.h
stmcgovern d61174f
#1941: modify termination.cc
stmcgovern 53f206d
#1941: remove repeated functions
stmcgovern acf44fc
#1941: remove Epoch Stack from ActiveMessenger
stmcgovern 67ae800
#1941: remove getGlobalEpoch
stmcgovern db0ffb1
#1941: do not pushEpoch in ActiveMessenger constructor
stmcgovern 80b564f
#1941: use TerminationDetector for any_epoch_sentinel
stmcgovern 6dcc465
#1941: adjust getEpochStack in test
stmcgovern ddd37f8
#1941: modify assert
stmcgovern 9e6187a
#1941: make types commensurable
stmcgovern 13333c0
#1941: simplify loop
stmcgovern 3bded51
#1941: modify epoch argument passing
stmcgovern 6658d17
#1941: fix indentation
stmcgovern File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I don't really like keeping these wrappers here, but I guess it spares us rewriting all the call sites at the same time. It does also allow for caching
theTerm()
inActiveMessenger
for internal usageThere 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.
I've not changed this. Do you think it's worth an issue to remove them or to go with the caching, @PhilMiller @lifflander ?
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.
Let's leave it be for now, and think about caching if that lookup ever turns up as a hot spot in profiles