Skip to content

Commit

Permalink
Merge pull request #41 from vmware-labs/gzurl/exec_ctx
Browse files Browse the repository at this point in the history
Wasm Execution Contexts now can be created while another thread is running a Wasm module
  • Loading branch information
gzurl authored Mar 31, 2023
2 parents 5110961 + 1cedb9a commit 5cbbbfc
Show file tree
Hide file tree
Showing 6 changed files with 168 additions and 84 deletions.
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

0 comments on commit 5cbbbfc

Please sign in to comment.