Commit 3005bf1
committed
Add clarification for the return value of the
The documentation here was a bit vague; libc implementation alread assumed
the return value to be a thread id; this is similar to posix's `clone`.
I think using return value for thread ID makes sense in WASI, but I'm open
for discussion.wasi_thread_spawn function.1 parent 3c99793 commit 3005bf1
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
0 commit comments