[libc-commits] [PATCH] D148290: Support custom attributes in pthread_create

Noah Goldstein via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Apr 13 20:03:46 PDT 2023


goldstein.w.n created this revision.
goldstein.w.n added a reviewer: michaelrj.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
goldstein.w.n requested review of this revision.

Only functional for stack growsdown (same as before), but custom
`stack`, `stacksize`, `guardsize`, and `detachstate` all should be
working.


Repository:
  rG LLVM Github Monorepo

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_getstacksize.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.513416.patch
Type: text/x-patch
Size: 31509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230414/b18e9419/attachment-0001.bin>


More information about the libc-commits mailing list