wasm-micro-runtime/core/iwasm/libraries/thread-mgr
YAMAMOTO Takashi 2e78230e06
set_exception_visitor: Remove the special case for wasi proc exit (#2525)
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 distinguish 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.
2023-09-04 16:52:19 +08:00
..
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
thread_manager.c set_exception_visitor: Remove the special case for wasi proc exit (#2525) 2023-09-04 16:52:19 +08:00
thread_manager.h Stop abusing shared memory lock to protect exception (#2509) 2023-08-31 20:39:08 +08:00
thread_mgr.cmake Enable shared memory && add pthread support (#282) 2020-06-15 19:04:04 +08:00