wasm-micro-runtime/doc
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
..
pics Update document and fix wasm_runtime_call_wasm_a issue (#1005) 2022-02-14 17:36:38 +08:00
build_wamr.md Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00
build_wasm_app.md A few changes related to WAMRC_LLC_COMPILER (#2218) 2023-05-17 09:56:35 +08:00
devcontainer.md Dockerfile lint errors fix (#1493) 2022-09-22 13:06:11 +08:00
embed_wamr_spawn_api.md embed_wamr.md: Improvements about threads (#2420) 2023-08-04 09:28:30 +08:00
embed_wamr.md embed_wamr.md: Improvements about threads (#2420) 2023-08-04 09:28:30 +08:00
export_native_api.md export_native_api.md: Partially revert "Relax the ground rule" (#1588) 2022-10-13 18:33:06 +08:00
linux_sgx.md linux-sgx: Implement SGX IPFS as POSIX backend for file interaction (#1489) 2022-09-28 13:09:58 +08:00
memory_tune.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00
memory_usage.md doc/memory_usage.md: Update after dev/wasi_threads merge (#1994) 2023-03-01 05:19:34 +08:00
multi_module.md Fix link in multi_module.md (#941) 2022-01-08 18:47:56 +08:00
other_wasm_compilers.md Implement performance profiler and call stack dump, and update toolchain document (#501) 2021-01-18 13:23:10 +08:00
perf_tune.md Make memory access boundary check behavior configurable (#2289) 2023-07-04 16:21:30 +08:00
port_wamr.md Enable specifying out-of-source platform configuration cmake file (#1941) 2023-02-07 22:10:59 +08:00
pthread_impls.md Document the summary of two pthread implementations (#2104) 2023-04-04 17:22:54 +08:00
pthread_library.md Document the summary of two pthread implementations (#2104) 2023-04-04 17:22:54 +08:00
ref_types.md Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
release_ack.md Enable multi-module support for wasm-c-api (#426) 2020-10-16 17:43:57 +08:00
roadmap.md Enable multi-module support for wasm-c-api (#426) 2020-10-16 17:43:57 +08:00
semantic_version.md Enable the semantic version mechanism for WAMR (#1374) 2022-08-18 19:01:05 +08:00
socket_api.md Update documents (#2100) 2023-04-03 15:54:44 +08:00
source_debugging.md Fix issues in releasing wamr-lldb (#2497) 2023-08-23 12:56:11 +08:00
wamr_api.md Fix x86-32 compile warning and update document (#1164) 2022-05-10 15:22:20 +08:00
wasm_c_api.md doc/wasm_c_api.md: Mention relationship with wasm_export.h (#1159) 2022-05-09 16:39:49 +08:00
xip.md Add "--enable-builtin-intrinsics=<flags>" option to wamrc (#2341) 2023-07-06 18:20:35 +08:00