From ec8172dbe61ebb929896d18323fa124ef03e9041 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 4 Jan 2023 12:23:10 +0900 Subject: [PATCH] Remove thread_exit for now --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6b97f8b..eb19d66 100644 --- a/README.md +++ b/README.md @@ -84,11 +84,10 @@ threads. ### API walk-through -The API consists of two functions. In pseudo-code: +The API consists of a single function. In pseudo-code: ```C status wasi_thread_spawn(thread_start_arg* start_arg); -void wasi_thread_exit(void); ``` where the `status` is a unique non-negative integer thread ID of the new @@ -187,8 +186,8 @@ TID is a 32-bit integer to identify threads created with `wasi_thread_spawn`. ### Voluntary thread termination -A thread can terminate itself voluntarily, either by calling -`wasi_thread_exit`, or by returning from `wasi_thread_start`. +A thread can terminate itself voluntarily by returning from +`wasi_thread_start`. ### Changes to WASI `proc_exit`