File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
site/source/docs/api_reference Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,19 @@ Pthreads and Wasm Workers share several similarities:
104104
105105However, the differences are more notable.
106106
107+ C11 thread APIs are not available under Wasm Workers
108+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109+
110+ Becuase our C11 threading API is based on pthreads internally these APIs are not
111+ available under Wasm Worker.
112+
113+ Some standard C++ APIs are not available under Wasm Workers
114+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
115+
116+ Some parts of the libc++ stndard library are not available under Wasm Workers
117+ becuase they depend on pthreads internally. For example `std::call_once``:
118+ https://github.com/emscripten-core/emscripten/issues/26375.
119+
107120Pthreads can proxy JS functions
108121^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109122
You can’t perform that action at this time.
0 commit comments