Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wasm Execution Contexts now can be created while another thread is running a Wasm module #41

Merged
merged 3 commits into from
Mar 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@

-

## 0.11.1 (2023/03/31)

- Fixes [#40](https://github.com/vmware-labs/mod_wasm/issues/40), where a new thread could not create a new Wasm execution context while another thread was running a Wasm module. This was only measurable if the execution of the Wasm module was long enough in time or if it took longer than expected (i.e.: I/O issues, infinite loop, etc.). Note that CPU-limited Wasm executions are not implemented yet (see [#9](https://github.com/vmware-labs/mod_wasm/issues/9)).

### `libwasm_runtime.so`
- Internal refactoring of `execution_ctx.rs` to address [#40](https://github.com/vmware-labs/mod_wasm/issues/40).
- Updated `cargo.lock` dependencies via `cargo update`.

## 0.11.0 (2023/03/27)

- In this version, Wasm modules can now return any output type via stdout, including binaries with non UTF-8 bytes sequences or `\0` NULL terminators in the middle.
Expand Down
2 changes: 1 addition & 1 deletion mod_wasm/modules/wasm/mod_wasm.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
*/
#define MOD_WASM_VERSION_MAJOR 0
#define MOD_WASM_VERSION_MINOR 11
#define MOD_WASM_VERSION_PATCH 0
#define MOD_WASM_VERSION_PATCH 1
139 changes: 90 additions & 49 deletions wasm_runtime/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wasm_runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm_runtime"
version = "0.11.0"
version = "0.11.1"
edition = "2021"
authors = ["VMware's Wasm Labs"]
description = "Wrapper for offering a simple C-API to manage WebAssembly modules via Wasmtime"
Expand Down
Loading