Commit bd11f75
committed
Document how TIDs are to be returned
In WebAssembly/wasi-libc#325, we decided that,
to avoid an extra `wait`/`notify` handshake between the parent and child
thread, the host-generated TID would be passed not only to the child
thread in a `wasi_thread_start` parameter but also returned to the
parent thread as the result of `wasi_thread_spawn`. This change
documents that decision in the spec.1 parent ad710e1 commit bd11f75
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
| 97 | + | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| |||
0 commit comments