Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pthread support for Emscripten build. #842

Open
aleph1 opened this issue Nov 22, 2024 · 0 comments
Open

Add pthread support for Emscripten build. #842

aleph1 opened this issue Nov 22, 2024 · 0 comments

Comments

@aleph1
Copy link

aleph1 commented Nov 22, 2024

I opened a pull request [#841] before seeing the note regarding the preference for issues.

The current CMakeLists.txt doesn’t include the required flags for Emscripten’s pthread support, which causes the built .wasm file to fail the MultithreadingTest when run in a browser (tested in Chrome, Safari, and Firefox for MacOS). Adding these flags results in all tests passing when running in a browser environment.

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

No branches or pull requests

1 participant