Open paulgheorghecristian opened 7 months ago
Hi, @paulgheorghecristian
In exodide, -pthread
option is explicitly disabled.
As far as I remember, the option produced compile error (at least at that time).
https://github.com/ymd-h/exodide/blob/master/design.md#build-details https://github.com/ymd-h/exodide/blob/b5232240edcc436acc181d1b708dd801dda6af87/exodide/build.py#L127-L141
With my quick search, Pyodide hasn't supported thread yet, and I have no idea whether we could support thread separately. https://github.com/pyodide/pyodide/issues/237
Helo,
When I try creating threads in CPP, creating a wheel and importing in pyodide 0.21.0, I get this:
index.js:1 CppException std::__2::system_error: thread constructor failed: Resource temporarily unavailable
This is the program:
I know there are some issues with running multithreaded code, is there any way I can make this work?
Thanks!