[libc-commits] [PATCH] D126716: [libc] Keep all thread state information separate from the thread structure.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue May 31 22:13:49 PDT 2022
lntue accepted this revision.
lntue added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libc/src/__support/threads/linux/thread.h:98
-template <typename ReturnType> struct Thread {
+template <typename ReturnType> struct alignas(16) Thread {
private:
----------------
Shall this class use the same alignment constant as in `thread_attrib.h` or are they independent?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126716/new/
https://reviews.llvm.org/D126716
More information about the libc-commits
mailing list