Merged
Conversation
44d03d8 to
a1610ed
Compare
1bf6f5a to
77c1a8d
Compare
1c265b1 to
ea5aa7d
Compare
41db3d6 to
c7a2da5
Compare
Collaborator
Author
|
@ChuanqiXu9 It seems that mac ci & bazel ci are broken. |
Collaborator
CC @PikachuHyA |
ChuanqiXu9
reviewed
Jan 10, 2025
Collaborator
Author
|
@ChuanqiXu9 All conversation resolved. |
ChuanqiXu9
reviewed
Jan 13, 2025
| virtual ~Signal(); | ||
|
|
||
| private: | ||
| std::atomic<uint64_t> _state; |
Collaborator
There was a problem hiding this comment.
Where is the intialization? And what's the meaning of _state? The latt emitted signal type? Can a Signal emit multiple times?
Collaborator
Author
There was a problem hiding this comment.
Default state is zero. It means which signal has triggered. It was updated at UpdateState. If a signal is low 32bits, it can't emit multiple times. I have add some comments.
| std::atomic<Node*> _slotsHead; | ||
| }; | ||
|
|
||
| class Slot { |
| syncAwait(testCollectAllPara().via(&e1)); | ||
| } | ||
|
|
||
| TEST_F(LazyTest, testCollectAnyWithCallbackVariadic) { |
Collaborator
There was a problem hiding this comment.
Please not touch the previous test if the API remains
Collaborator
There was a problem hiding this comment.
Can we remain the test?
Collaborator
Author
|
@ChuanqiXu9 new conversation is fixed |
ChuanqiXu9
approved these changes
Jan 14, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
See document
What is changing
Breakchanges:
spinlockmay throw exceptions.CollectAll/CollectAnyhave been changed to lazy, and the callback versions ofcollectAll/collectAnyhave been removed.