Stream: wamr

Topic: New blog: Introduction to WAMR WASI threads


view this post on Zulip Wang Xin (Jul 05 2023 at 08:26):

Thanks to @Marcin Kolny for the excellent introduction of wasi-thread:
https://bytecodealliance.github.io/wamr.dev/blog/introduction-to-wamr-wasi-threads/

One of the functionalities missing in WebAssembly for a long time was the ability to spawn new threads within the process. Various runtimes made efforts to address this limitation by introducing non-standard APIs for thread creation. WAMR provides a WAMR pthread library that implements a wide range of pthread APIs, (including synchronization primitives, pthread_create() function and many more). In 2022, the introduction of the WASI threads proposal aimed to establish a standardized API for thread creation in WebAssembly.

view this post on Zulip Luis Linares (Sep 18 2023 at 14:56):

Hello! Has anyone run the VScode extension for WAMR on a C program that embeds WAMR? I am trying to debug why is a C-written wasm module not working now that I have enabled wasi-thread, even if I'm not actually using threads.


Last updated: Nov 22 2024 at 17:03 UTC