Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 3, 2026

I forgot to actually test any of the stdout of this test so what was happening here is that after the timeout and the writing to the pipe, the node process was just existing with 0 exit code. Basically the JSPI/ASYNCIFY continuation of the program was never run and node simply exits because there was nothing left in the event loop.

I forgot to actually test any of the stdout of this test so what
was happening here is that after the timeout and the writing to the
pipe, the node process was just existing with 0 exit code.  Basically
the JSPI/ASYNCIFY continuation of the program was never run and node
simply exits because there was nothing left in the event loop.
@sbc100 sbc100 requested a review from brendandahl February 3, 2026 00:24
@sbc100 sbc100 changed the title If blocking select/poll in pipes with ASYNCIFY. NFC Fix blocking select/poll in pipes with ASYNCIFY. NFC Feb 3, 2026
@sbc100 sbc100 requested a review from kripken February 3, 2026 01:18
@sbc100 sbc100 enabled auto-merge (squash) February 3, 2026 01:18
@sbc100 sbc100 changed the title Fix blocking select/poll in pipes with ASYNCIFY. NFC Fix blocking select/poll on pipes with ASYNCIFY. NFC Feb 3, 2026
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 disabled auto-merge February 3, 2026 16:37
@sbc100 sbc100 merged commit 93dcd26 into emscripten-core:main Feb 3, 2026
36 checks passed
@sbc100 sbc100 deleted the test_poll_blocking_asyncify branch February 3, 2026 16:38
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