Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Dec 20, 2025

This change improves the implementation of poll() to support blocking when called from threads (see #25523) and moves the select-based-on-poll implementation from being wasmfs specific to be always being used.

Also, add testing for blocking version of poll by duplicating the blocking select test.

@sbc100 sbc100 force-pushed the poll_blocking branch 2 times, most recently from b8d0829 to 9ec78d9 Compare December 22, 2025 03:15
@sbc100 sbc100 marked this pull request as ready for review December 22, 2025 03:20
@sbc100 sbc100 requested review from dschuff and kripken December 22, 2025 03:20
@sbc100 sbc100 force-pushed the poll_blocking branch 8 times, most recently from d44829d to fa8fc29 Compare December 22, 2025 05:37
Copy link
Contributor

@ktock ktock left a comment

Choose a reason for hiding this comment

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

Thanks!

@sbc100 sbc100 force-pushed the poll_blocking branch 3 times, most recently from 7201094 to 4f8ad00 Compare December 22, 2025 19:42
@sbc100 sbc100 requested a review from brendandahl December 22, 2025 19:43
This change improves the implementation of poll() to support blocking
when called from threads (see emscripten-core#25523) and moves the select-based-on-poll
implemenation from being wasmfs specific to be always being used.
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.

2 participants