Skip to content

Commit

Permalink
threads: add pthread_attr_setdetach_state
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 committed Jan 11, 2023
1 parent 957c711 commit 2862c21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,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
1 change: 1 addition & 0 deletions expected/wasm32-wasi-pthread/defined-symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,7 @@ pthread_attr_getscope
pthread_attr_getstack
pthread_attr_getstacksize
pthread_attr_init
pthread_attr_setdetachstate
pthread_attr_setstack
pthread_attr_setstacksize
pthread_barrier_destroy
Expand Down

0 comments on commit 2862c21

Please sign in to comment.