wasmtime-wasi-threads

Crates.iowasmtime-wasi-threads
lib.rswasmtime-wasi-threads
version27.0.0
sourcesrc
created_at2023-03-20 16:06:16.796363
updated_at2024-11-20 16:21:11.459812
descriptionWasmtime implementation of the wasi-threads API
homepage
repositoryhttps://github.com/bytecodealliance/wasmtime
max_upload_size
id815450
size11,637
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: 13891

cargo fmt