Skip to content

Commit 8886e70

Browse files
committed
comment on thread_exit
1 parent 0296fe7 commit 8886e70

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/wasi_threads.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,11 @@ wasi_thread_exit(struct exec_context *ctx, struct host_instance *hi,
353353

354354
const struct host_func wasi_threads_funcs[] = {
355355
WASI_HOST_FUNC(thread_spawn, "(i)i"),
356+
/*
357+
* Note: thread_exit is not a part of the current wasi-threads.
358+
* It's implemented here just for my experiments.
359+
* cf. https://github.com/WebAssembly/wasi-threads/issues/7
360+
*/
356361
WASI_HOST_FUNC(thread_exit, "()"),
357362
};
358363

0 commit comments

Comments
 (0)