Skip to content

Commit

Permalink
doc/check_interrupt.md: minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jun 28, 2024
1 parent 6e6a6c6 commit c734e17
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/check_interrupt.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

We have a few features which potentially block for long period.
(possibly forever.)
They include `wasm-threads` and `WASI`.
They include WASM [threads proposal] and `WASI`.

[threads proposal]: https://github.com/WebAssembly/threads

To make it possible to handle asynchronous requests like thread termination
while executing these long-blocking operations, they actually wake up
Expand Down Expand Up @@ -85,11 +87,11 @@ This mechanism is used to implement:
* Inefficient. Especially when you have many threads.
* Restrictions on host functions. Restarting a complex host function
* Difficulties on host functions. Restarting a complex host function
might be difficult to implement properly.
For example, a host function calling back to the wasm module, which
might even call another host function.
You can find such host functions in the [hostfunc example app].
You can find an example of such host functions in the [hostfunc example app].
* Non-blocking I/O on unix is a bit awkward to handle.
Expand Down

0 comments on commit c734e17

Please sign in to comment.