[libc-commits] [PATCH] D126716: [libc] Keep all thread state information separate from the thread structure.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Jun 1 00:58:48 PDT 2022
sivachandra added inline comments.
================
Comment at: libc/src/__support/threads/linux/thread.h:98
-template <typename ReturnType> struct Thread {
+template <typename ReturnType> struct alignas(16) Thread {
private:
----------------
lntue wrote:
> Shall this class use the same alignment constant as in `thread_attrib.h` or are they independent?
Ah, good catch! This should not be required here at all. I was playing with different combinations and forgot to remove this. Removed now.
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