wasm-micro-runtime
wasm-micro-runtime copied to clipboard
trap propagation behavior is a bit pthread-specific
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.