wasm-micro-runtime/core/iwasm/include
Wenyong Huang b038f2721b
Merge pull request #3823 from bytecodealliance/dev/shared_heap
Implement the shared heap feature for interpreter, aot and llvm jit.
Add below runtime APIs:
```C
wasm_shared_heap_t
wasm_runtime_create_shared_heap(SharedHeapInitArgs *init_args);

bool
wasm_runtime_attach_shared_heap(wasm_module_inst_t module_inst,
                                wasm_shared_heap_t shared_heap);

void
wasm_runtime_detach_shared_heap(wasm_module_inst_t module_inst);

uint64_t
wasm_runtime_shared_heap_malloc(wasm_module_inst_t module_inst, uint64_t size,
                                void **p_native_addr);

void
wasm_runtime_shared_heap_free(wasm_module_inst_t module_inst, uint64_t ptr);
```

And allow wasm app to call API shared_heap_malloc and shared_heap_free:
```C
void *shared_heap_malloc(uint32_t size);
void shared_heap_free(void *ptr);
```
2024-10-15 14:26:22 +08:00
..
aot_comp_option.h Merge pull request #3823 from bytecodealliance/dev/shared_heap 2024-10-15 14:26:22 +08:00
aot_export.h Expose more functions related to emitting AOT files (#3520) 2024-06-14 15:57:45 +08:00
gc_export.h Add WASM_V128 in wasm_valkind_enum (#3412) 2024-05-14 10:22:42 +08:00
lib_export.h Add necessary comments for doxygen (#3299) 2024-04-11 07:50:08 +08:00
wasm_c_api.h Add no_resolve to LoadArgs and wasm_runtime_resolve_symbols (#3790) 2024-09-20 08:54:09 +08:00
wasm_export.h Merge branch main into dev/shared_heap 2024-09-20 14:34:00 +08:00