Our focus has been on threads in browsers, for now. The main issue is that
asm.js and wasm threads depend on Web Workers, which don't exist in Node,
so we'd need some other kind of solution there, not sure what that would
look like.

I'll open a PR to update the docs on this.

On Sun, Sep 2, 2018 at 10:16 AM Varun Kumar <[email protected]> wrote:

> I have written a small C code which spawns a new thread, waits for it and
> the thread prints a string. I compiled it to a WebAssembly using emscripten
> with the flags USE_PTHREADS=1 and PTHREAD_POOL_SIZE=2. I could successfully
> run the compiled WebAssembly in Firefox Nightly after enabling the share
> memory option. However, I am not able to run it on node 8 or node 10. Some
> inputs on how to get it working on node will be helpful. Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to