wasmtime-wasi-threads

Crates.iowasmtime-wasi-threads
lib.rswasmtime-wasi-threads
version26.0.1
sourcesrc
created_at2023-03-20 16:06:16.796363
updated_at2024-11-05 19:26:46.712743
descriptionWasmtime implementation of the wasi-threads API
homepage
repositoryhttps://github.com/bytecodealliance/wasmtime
max_upload_size
id815450
size11,540
wasmtime-publish (github:bytecodealliance:wasmtime-publish)

documentation

https://docs.rs/wasmtime-wasi-nn

README

wasmtime-wasi-threads

Implement the wasi-threads specification in Wasmtime.

Note: this crate is experimental and not yet suitable for use in multi-tenant embeddings. As specified, a trap or WASI exit in one thread must end execution for all threads. Due to the complexity of stopping threads, however, this implementation currently exits the process entirely. This will work for some use cases (e.g., CLI usage) but not for embedders. This warning can be removed once a suitable mechanism is implemented that avoids exiting the process.

Commit count: 13801

cargo fmt