Skip to content

Commit

Permalink
threads: add pthread_attr_setdetachstate (WebAssembly#382)
Browse files Browse the repository at this point in the history
This API may not make a lot of sense in a WebAssembly world but it
seemed helpful to include it, even if it doesn't have much effect.
  • Loading branch information
abrown authored and john-sharratt committed Mar 5, 2023
1 parent 8b41924 commit 135b37b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ LIBC_TOP_HALF_MUSL_SOURCES += \
thread/pthread_attr_get.c \
thread/pthread_attr_init.c \
thread/pthread_attr_setstack.c \
thread/pthread_attr_setdetachstate.c \
thread/pthread_attr_setstacksize.c \
thread/pthread_barrier_destroy.c \
thread/pthread_barrier_init.c \
Expand Down
5 changes: 0 additions & 5 deletions expected/wasm32-wasi-pthread/defined-symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1266,11 +1266,6 @@ pthread_attr_getstack
pthread_attr_getstacksize
pthread_attr_init
pthread_attr_setdetachstate
pthread_attr_setguardsize
pthread_attr_setinheritsched
pthread_attr_setschedparam
pthread_attr_setschedpolicy
pthread_attr_setscope
pthread_attr_setstack
pthread_attr_setstacksize
pthread_barrier_destroy
Expand Down

0 comments on commit 135b37b

Please sign in to comment.