cowasm icon indicating copy to clipboard operation
cowasm copied to clipboard

Does cowasm support threads?

Open temeddix opened this issue 1 year ago • 1 comments

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 avatar Oct 25 '23 12:10 temeddix

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.

williamstein avatar Oct 25 '23 18:10 williamstein