wasm-micro-runtime/core
Wenyong Huang 0f5b73ae67
Add mutex initializer for wasm-c-api engine operations (#1656)
The host embedder may new/delete wasm-c-api engine simultaneously
in multiple threads, which requires lock for the operations. Since there
isn't one time called global init/destroy APIs provided by wasm-c-api,
we define a global lock and initialize it with thread mutex initializer if
the platform supports that, and use it to lock the operations of engine.

If the platform doesn't support thread mutex initializer, we require
developer to create the lock by himself to ensure the thread-safe of the
engine operations.
2022-10-31 11:48:07 +08:00
..
app-framework esp-idf: Make esp-idf support Libc WASI (#1356) 2022-08-15 16:17:28 +08:00
app-mgr Add darwin support for app_framework (#1601) 2022-10-16 21:23:00 +08:00
deps Integrate WASI-NN into WAMR (#1521) 2022-10-12 12:09:29 +08:00
iwasm Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
shared Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
config.h Normalize how the global heap pool is configured across iwasm apps (#1628) 2022-10-25 21:36:24 +08:00
version.h Maintain semantic version info in core/version.h (#1630) 2022-10-24 12:46:03 +08:00