We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c9b66d commit 96ca24fCopy full SHA for 96ca24f
1 file changed
README.md
@@ -161,7 +161,8 @@ the `pthread_t` structure. This could be implemented by the following steps
161
parameters `int tid` and `void *start_args`
162
4. in `pthread_create`, call `wasi_thread_spawn` with the configured
163
`start_args` and use `atomic.wait` to wait for the `start_args->thread->tid`
164
- value to change
+ value to change (note that for web polyfills this may not be necessary since
165
+ creation of web workers is not synchronous)
166
5. now in the child thread: once the WASI host creates the new thread instance
167
and calls `wasi_thread_start`, then a) set `args->thread->tid` to the
168
host-provided `tid`, b) set the `__wasilibc_pthread_self` global to point to
0 commit comments