mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-24 09:51:17 +00:00
Send a signal whose handler is no-op to a blocking thread to wake up the blocking syscall with either EINTR equivalent or partial success. Unlike the approach taken in the `dev/interrupt_block_insn` branch (that is, signal + longjmp similarly to `OS_ENABLE_HW_BOUND_CHECK`), this PR does not use longjmp because: * longjmp from signal handler doesn't work on nuttx refer to https://github.com/apache/nuttx/issues/10326 * the singal+longjmp approach may be too difficult for average programmers who might implement host functions to deal with See also https://github.com/bytecodealliance/wasm-micro-runtime/issues/1910 |
||
|---|---|---|
| .. | ||
| arch | ||
| iwasm_common.cmake | ||
| SConscript | ||
| wasm_application.c | ||
| wasm_blocking_op.c | ||
| wasm_c_api_internal.h | ||
| wasm_c_api.c | ||
| wasm_exec_env.c | ||
| wasm_exec_env.h | ||
| wasm_memory.c | ||
| wasm_memory.h | ||
| wasm_native.c | ||
| wasm_native.h | ||
| wasm_runtime_common.c | ||
| wasm_runtime_common.h | ||
| wasm_shared_memory.c | ||
| wasm_shared_memory.h | ||
| wasm_suspend_flags.h | ||