Skip to content

Improve emscripten_futex_wait stub. NFC#26309

Open
sbc100 wants to merge 1 commit intoemscripten-core:mainfrom
sbc100:futex_wait_workers
Open

Improve emscripten_futex_wait stub. NFC#26309
sbc100 wants to merge 1 commit intoemscripten-core:mainfrom
sbc100:futex_wait_workers

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 20, 2026

The test for wasm workers with emscripten_futex_wait was added in back in #21618 but AFAICT it was only even working when pthread support was also enabled.

Then pthread support is not enabled only the stub version is used which obviously doesn't work as expected.

I think it would be great to get this API working in pure wasm workers, but that is separate issue.

@sbc100 sbc100 requested review from cwoffenden, juj and kripken February 20, 2026 01:16
The test for wasm workers with emscripten_futex_wait was added in back
in emscripten-core#21618 but AFAICT it was only even working when pthread support was
also enabled.

Then pthread support is not enabled only the stub version is used which
obviously doesn't work as expected.
@sbc100 sbc100 force-pushed the futex_wait_workers branch from 9fcc525 to 66e68ec Compare February 20, 2026 01:18
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

Comments