Skip to content

Use flags.contains. - #156

Merged
ltratt merged 1 commit into
softdevteam:masterfrom
ltratt:use_contains
Sep 29, 2026
Merged

ltratt merged 1 commit into
softdevteam:masterfrom
ltratt:use_contains

Conversation

@ltratt

@ltratt ltratt commented Sep 29, 2026

Copy link
Copy Markdown
Member

This was a bit sloppy on my part: I didn't consider that poll can return events that weren't requested (e.g. you might get POLLERR even if you just asked for POLLIN). The contains API nicely solves this, and it's used elsewhere, but I somehow didn't modify this part.

This was a bit sloppy on my part: I didn't consider that `poll` can
return events that weren't requested (e.g. you might get POLLERR even if
you just asked for POLLIN). The `contains` API nicely solves this, and
it's used elsewhere, but I somehow didn't modify this part.
@ltratt
ltratt enabled auto-merge September 29, 2026 08:42
@ltratt
ltratt added this pull request to the merge queue Sep 29, 2026
Merged via the queue into softdevteam:master with commit 6258246 Sep 29, 2026
2 checks passed
@ltratt
ltratt deleted the use_contains branch September 29, 2026 08:54
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.

1 participant