wasm-micro-runtime/core
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
..
app-framework Fix sensor framework timer issue and update sensor sample (#917) 2021-12-28 08:44:19 +08:00
app-mgr Enhance app manager (#1011) 2022-02-17 15:04:52 +08:00
deps Fix littlevgl link error issues (#1006) 2022-02-15 08:41:36 +08:00
iwasm Add a reference counter to wasm_engine_t (#1001) 2022-03-22 17:14:15 +08:00
shared Implement part of Berkeley Socket API for libc-wasi (#1036) 2022-03-10 15:13:38 +08:00
config.h Fix native stack overflow check failed in interpreter (#992) 2022-02-11 11:43:03 +08:00