Skip to content

Conversation

@phip1611
Copy link
Member

@phip1611 phip1611 commented Dec 1, 2025

Improve ergonomics of Events. Closes #1839

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

@phip1611 phip1611 self-assigned this Dec 1, 2025
This better aligns with other code and the actual
purpose of the function.
For all three functions, it is the normal / good case to be there. We can
also see this in the edk2 implementations of the corresponding functions [0].

[0] https://github.com/tianocore/edk2/blob/66346d5edeac2a00d3cf2f2f3b5f66d423c07b3e/NetworkPkg/SnpDxe/Initialize.c#L230
Cloning Events is inconvenient, so we make the life if devs a little
easier.
@phip1611 phip1611 enabled auto-merge January 18, 2026 18:01
@phip1611 phip1611 added this pull request to the merge queue Jan 18, 2026
Merged via the queue into main with commit 1ed57e8 Jan 18, 2026
20 checks passed
@phip1611 phip1611 deleted the uefi-event branch January 18, 2026 18:09
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.

wait_*_event() -> Event functions should return Result instead of Option

3 participants