Skip to content

Commit

Permalink
Remove thread_exit for now
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jan 4, 2023
1 parent ccc5811 commit ec8172d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit ec8172d

Please sign in to comment.