Commit 38f769a
committed
set_exception_visitor: remove the special case for wasi proc exit
while wasi proc exit is not a real trap, what the runtime does on it
is mostly same as real traps. that is, kill the siblings threads
and represent the exit/trap as the result of the "process" to
the user api. there seems no reason to distinuguish it from
real traps here.
note that:
* the target thread either doesn't care the specific exception type
or ignore wasi proc exit by themselves. (clear_wasi_proc_exit_exception)
* clear_wasi_proc_exit_exception only clears local exception.1 parent b87cc94 commit 38f769a
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1264 | 1264 | | |
1265 | 1265 | | |
1266 | 1266 | | |
1267 | | - | |
1268 | | - | |
1269 | | - | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
| 1267 | + | |
| 1268 | + | |
1273 | 1269 | | |
1274 | 1270 | | |
1275 | 1271 | | |
| |||
0 commit comments