The state is now stored on the thread's stack memory. This enables
implementing pthread API like pthread_detach which takes the pthread_t
structure argument by value.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libc/src/__support/threads/linux/thread.h | ||
---|---|---|
98 | Shall this class use the same alignment constant as in thread_attrib.h or are they independent? |
libc/src/__support/threads/linux/thread.h | ||
---|---|---|
98 | Ah, good catch! This should not be required here at all. I was playing with different combinations and forgot to remove this. Removed now. |
Shall this class use the same alignment constant as in thread_attrib.h or are they independent?