Allow to set native stack boundary to exec_env (#3862)
Add runtime API wasm_runtime_set_native_stack_boundary. p.s. https://github.com/bytecodealliance/wasm-micro-runtime/issues/3816
This commit is contained in:
@ -136,6 +136,10 @@ typedef struct WASMExecEnv {
|
||||
|
||||
void *user_data;
|
||||
|
||||
/* The boundary of native stack set by host embedder. It is used
|
||||
if it is not NULL when calling wasm functions. */
|
||||
uint8 *user_native_stack_boundary;
|
||||
|
||||
/* The native thread handle of current thread */
|
||||
korp_tid handle;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user