[libc-commits] [PATCH] D148290: [LIBC] Support custom attributes in pthread_create
Noah Goldstein via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon May 22 12:42:42 PDT 2023
goldstein.w.n updated this revision to Diff 524436.
goldstein.w.n added a comment.
Fix style/comments in tests.
Add tests for invalidly set parameters (and support in pthread_create).
Use `STACK_ALIGNMENT` variable instead of magic number `16` throughout.
Don't use `pthread_set_stacksize` in `pthread_set_stack`, just inline impl
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148290/new/
https://reviews.llvm.org/D148290
Files:
libc/src/__support/threads/linux/thread.cpp
libc/src/__support/threads/thread.h
libc/src/pthread/CMakeLists.txt
libc/src/pthread/pthread_attr_getstack.cpp
libc/src/pthread/pthread_attr_init.cpp
libc/src/pthread/pthread_attr_setstack.cpp
libc/src/pthread/pthread_attr_setstacksize.cpp
libc/src/pthread/pthread_create.cpp
libc/src/threads/thrd_create.cpp
libc/test/integration/src/__support/threads/thread_detach_test.cpp
libc/test/integration/src/pthread/CMakeLists.txt
libc/test/integration/src/pthread/pthread_create_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148290.524436.patch
Type: text/x-patch
Size: 33536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230522/f6568adc/attachment-0001.bin>
More information about the libc-commits
mailing list