wasm-micro-runtime/core/iwasm
lucianoiam f8ee05db4b
Add a reference counter to wasm_engine_t (#1001)
This patch allows safer (note: safer, not safe) embedding in a plugin
environment where multiple instances of the engine could be needed.

Original code initializes and tears down the full runtime during
wasm_engine_new() and wasm_engine_delete() respectively. After this
update the C API implementation keeps track of engine instances count
and inits/deinits the runtime only when needed.

This allows for example to call wasm_engine_new() twice and then call
wasm_engine_delete() once without rendering the first engine instance
invalid.
2022-03-22 17:14:15 +08:00
..
aot Fix Windows failed to relocate __ymm symbol error (#1047) 2022-03-16 11:07:11 +08:00
common Add a reference counter to wasm_engine_t (#1001) 2022-03-22 17:14:15 +08:00
compilation Refine call native function from AOT code (#1015) 2022-02-23 14:58:32 +08:00
include Implement part of Berkeley Socket API for libc-wasi (#1036) 2022-03-10 15:13:38 +08:00
interpreter Fix classic interpreter handling BLOCK/IF/LOOP issue (#1051) 2022-03-20 18:07:33 +08:00
libraries Fix libc-wasi not working in spawned exec_env (#1053) 2022-03-22 12:17:14 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00