summaryrefslogtreecommitdiff
path: root/libc/src/threads/thrd_join.cpp
AgeCommit message (Collapse)Author
2024-07-12[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)Petr Hosek
This is a part of #97655.
2024-07-12Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace ↵Mehdi Amini
declaration" (#98593) Reverts llvm/llvm-project#98075 bots are broken
2024-07-11[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98075)Petr Hosek
This is a part of #97655.
2023-09-26[libc] Mass replace enclosing namespace (#67032)Guillaume Chatelet
This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079
2022-08-11[libc][Obvious] Fix thrd_join's first arg.Siva Chandra Reddy
First argument to thrd_join was incorrectly listed as a pointer to a thrd_t value. It should instead be a thrd_t value argument.
2022-06-24[libc][NFC] Remove the templatization from the linux implementation of thread.Siva Chandra Reddy
This enables setting up a single "self" thread object to be returned by API like thrd_self and pthread_self.
2022-06-01[libc] Keep all thread state information separate from the thread structure.Siva Chandra Reddy
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. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126716
2022-04-07[libc] Add a linux Thread class in __support/threads.Siva Chandra Reddy
This change is essentially a mechanical change which moves the thread creation and join implementations from src/threads/linux to src/__support/threads/linux/thread.h. The idea being that, in future, a pthread implementation can reuse the common thread implementations in src/__support/threads. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123287