Skip to content

Commit 0065491

Browse files
committed
review: note difficulty of asynchronous cancellation
1 parent 96ca24f commit 0065491

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ and what can safely be skipped until some later date.
200200
- `pthread_yield` is a [deprecated] `pthreads` function; `sched_yield` is the
201201
right one to use. Since it is unclear how WASI's scheduling should interact
202202
with the host's, this can be deferred until someone has a use case for it.
203-
- `pthread_cancel` allows a parent thread to cancel a child thread; this
204-
functionality is difficult (impossible?) to implement without a WebAssembly
205-
mechanism to interrupt the child thread and complicates the entire
206-
implementation. It can be left for later.
203+
- `pthread_cancel` allows a parent thread to cancel a child thread; in
204+
particular, asynchronous cancellation is difficult (impossible?) to implement
205+
without a WebAssembly mechanism to interrupt the child thread and it
206+
complicates the entire implementation. It can be left for later.
207207
208208
[deprecated]: https://man7.org/linux/man-pages/man3/pthread_yield.3.html
209209

0 commit comments

Comments
 (0)