Crates.io | wasmtime-wasi-threads |
lib.rs | wasmtime-wasi-threads |
version | 27.0.0 |
source | src |
created_at | 2023-03-20 16:06:16.796363 |
updated_at | 2024-11-20 16:21:11.459812 |
description | Wasmtime implementation of the wasi-threads API |
homepage | |
repository | https://github.com/bytecodealliance/wasmtime |
max_upload_size | |
id | 815450 |
size | 11,637 |
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.