]> git.proxmox.com Git - wasi-libc.git/commit
threads: enable access to `pthread_attr_get` functions (#357)
authorAndrew Brown <andrew.brown@intel.com>
Thu, 8 Dec 2022 22:55:42 +0000 (14:55 -0800)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 2 Aug 2023 10:24:08 +0000 (12:24 +0200)
commit627654f0ba8a3e0ae9508b6180697b6d37622e4f
tree66071911f380d0ad3ab23a61a222fb06b0dfa9f2
parent3df5dae426d48dd085dcb5e754e302fbd1775431
threads: enable access to `pthread_attr_get` functions (#357)

The pthreads API exposes functions for querying the attributes of a
thread. This change allows these functions to be compiled in the
`THREAD_MODEL=posix` build. Some functions are skipped (and documented);
they can be added if/when needed. This change is motivated by a
`libc-test` test that uses these functions.
Makefile
expected/wasm32-wasi/posix/defined-symbols.txt
libc-top-half/musl/src/thread/pthread_attr_get.c