wasm-micro-runtime/product-mini/platforms
YAMAMOTO Takashi 444b159963
Implement async termination of blocking thread (#2516)
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
2023-09-20 18:11:52 +08:00
..
alios-things Normalize how the global heap pool is configured across iwasm apps (#1628) 2022-10-25 21:36:24 +08:00
android Fix several issues in CI binary releasing (#2064) 2023-03-26 12:19:45 +08:00
darwin Fix build error with LLVM 16 (#2259) 2023-06-06 13:45:18 +08:00
esp-idf ESP-IDF platform supports to load AOT to PSRAM and run it (#2385) 2023-07-27 10:17:21 +08:00
freebsd Fix build error with LLVM 16 (#2259) 2023-06-06 13:45:18 +08:00
ios Fix build error with LLVM 16 (#2259) 2023-06-06 13:45:18 +08:00
linux product-mini/platforms/linux: Mark vmlib POSITION_INDEPENDENT_CODE (#2323) 2023-06-29 14:57:27 +08:00
linux-sgx Upgrade SGX-RA integration for 0.1.2 and Ubuntu 20.04 (#2454) 2023-08-15 10:12:43 +08:00
nuttx Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00
posix Fix build with ancient GCC (4.8) (#2553) 2023-09-15 16:24:12 +08:00
riot Normalize how the global heap pool is configured across iwasm apps (#1628) 2022-10-25 21:36:24 +08:00
rt-thread Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
vxworks Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
windows Revert "Return error when exception was raised after main thread finishes" (#2524) 2023-09-04 18:01:09 +08:00
zephyr/simple Fix typo in zephyr's Dockerfile.old (#2354) 2023-07-11 14:41:12 +08:00