Skip to content

Document explicitly that events can be posted twice, SIMICS-23394#413

Open
mandolaerik wants to merge 3 commits intointel:mainfrom
mandolaerik:pr/document-explicitly-that-events-can-be-posted-twice-simics-23394
Open

Document explicitly that events can be posted twice, SIMICS-23394#413
mandolaerik wants to merge 3 commits intointel:mainfrom
mandolaerik:pr/document-explicitly-that-events-can-be-posted-twice-simics-23394

Conversation

@mandolaerik
Copy link
Contributor

No description provided.

@syssimics
Copy link
Contributor

PR Verification: ✅ success

`event` callback from the previous call has been invoked; in this case, the
`event` callback will be invoked twice. In the `uint64_*_event` and
`custom_*_event` cases, the event data may or may not be identical between the
two calls.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should reference remove() parenthetically here:

... , and hence remove() may cancel only one pending callback but not the other.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except that we haven't mentioned remove yet. I can add a note to remove.

@mandolaerik mandolaerik force-pushed the pr/document-explicitly-that-events-can-be-posted-twice-simics-23394 branch from 156c070 to abf7247 Compare February 17, 2026 17:46
@syssimics
Copy link
Contributor

PR Verification: ✅ success

@syssimics
Copy link
Contributor

PR Verification: ✅ success

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants