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

Does cowasm support threads? #70

Open
temeddix opened this issue Oct 25, 2023 · 1 comment
Open

Does cowasm support threads? #70

temeddix opened this issue Oct 25, 2023 · 1 comment

Comments

@temeddix
Copy link

Hi, thanks for this wonderful effort.

I was wondering if I can use multithreaded WASI wasm module compiled from Rust. Would it be possible? If not, is that kind of PR acceptable?

@temeddix temeddix changed the title Does cowasm.support threads? Does cowasm support threads? Oct 25, 2023
@williamstein
Copy link
Contributor

Unfortunately, cowasm does not have any support for threads. It just has a very lightweight shim of pthreads to enable threaded code (e.g., cpython) to compile.

If not, is that kind of PR acceptable?

YES.

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

2 participants