wasm-micro-runtime/core/iwasm/common
Wenyong Huang ec15b6bbad
Add lock and ref_count for runtime init (#3263)
Some environment may call wasm_runtime_full_init/wasm_runtime_init multiple
times without knowing that runtime is initialized or not, it is better to add lock
and increase reference count during initialization.

ps. https://github.com/bytecodealliance/wasm-micro-runtime/discussions/3253.
2024-04-01 12:39:46 +08:00
..
arch Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
gc GC: Add wasm_struct_obj_get_field_count API (#3236) 2024-03-18 16:26:30 +08:00
iwasm_common.cmake Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
wasm_application.c Remove unused argument in wasm_runtime_lookup_function and refactor WASMModuleInstance (#3218) 2024-03-13 12:28:45 +08:00
wasm_blocking_op.c Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00
wasm_c_api_internal.h Return stack frames of crashed thread when using wasm-c-api (#2908) 2024-01-11 12:13:05 +08:00
wasm_c_api.c Implement apis to set and get the name of a wasm module (#3254) 2024-03-26 12:10:13 +08:00
wasm_exec_env.c Refactor APIs and data structures as preliminary work for Memory64 (#3209) 2024-03-12 11:38:50 +08:00
wasm_exec_env.h Refactor APIs and data structures as preliminary work for Memory64 (#3209) 2024-03-12 11:38:50 +08:00
wasm_memory.c Remove unused argument in wasm_runtime_lookup_function and refactor WASMModuleInstance (#3218) 2024-03-13 12:28:45 +08:00
wasm_memory.h Refactor APIs and data structures as preliminary work for Memory64 (#3209) 2024-03-12 11:38:50 +08:00
wasm_native.c Add wasi_ephemeral_nn module support (#3241) 2024-03-21 21:05:34 +08:00
wasm_native.h Implement GC (Garbage Collection) feature for interpreter, AOT and LLVM-JIT (#3125) 2024-02-06 20:47:11 +08:00
wasm_runtime_common.c Add lock and ref_count for runtime init (#3263) 2024-04-01 12:39:46 +08:00
wasm_runtime_common.h Remove unused argument in wasm_runtime_lookup_function and refactor WASMModuleInstance (#3218) 2024-03-13 12:28:45 +08:00
wasm_shared_memory.c Fix inconsistent coding convention (#3171) 2024-02-22 10:40:50 +08:00
wasm_shared_memory.h Refine lock/unlock shared memory (#2682) 2023-10-31 11:46:03 +08:00
wasm_suspend_flags.h Do not inherit WASM_SUSPEND_FLAG_BLOCKING from the parent thread (#3051) 2024-01-19 09:55:01 +08:00