wasm-micro-runtime icon indicating copy to clipboard operation
wasm-micro-runtime copied to clipboard

trap propagation behavior is a bit pthread-specific

Open yamt opened this issue 8 months ago • 0 comments

right now, wasm_set_exception propagates the trap to the whole cluster. however, when an embedder uses wasm_runtime_spawn_exec_env or wasm_runtime_spawn_thread, it depends on the use cases if the trap propagation is appropriate or not. i suspect it's better to make it configurable with an api.

yamt avatar Dec 20 '23 07:12 yamt