llvm-project/libc/src/threads
Siva Chandra Reddy 5db4177817 [libc] Add pthread_detach and thrd_detach.
Tests for pthread_detach and thrd_detach have not been added. Instead, a
test for the underlying implementation has been added as it makes use of
an internal wait method to synchronize with detached threads.

Reviewed By: lntue, michaelrj

Differential Revision: https://reviews.llvm.org/D127479
2022-06-11 05:29:40 +00:00
..
linux [libc] Add a linux Thread class in __support/threads. 2022-04-07 16:13:21 +00:00
CMakeLists.txt [libc] Add pthread_detach and thrd_detach. 2022-06-11 05:29:40 +00:00
call_once.h [libc] Add implementation of call_once from threads.h. 2020-05-28 23:45:09 -07:00
cnd_broadcast.h [libc] Add a skeleton for C standard condition variable functions. 2021-09-01 19:41:52 +00:00
cnd_destroy.h [libc] Add a skeleton for C standard condition variable functions. 2021-09-01 19:41:52 +00:00
cnd_init.h [libc] Add a skeleton for C standard condition variable functions. 2021-09-01 19:41:52 +00:00
cnd_signal.h [libc] Add a skeleton for C standard condition variable functions. 2021-09-01 19:41:52 +00:00
cnd_wait.h [libc] Add a skeleton for C standard condition variable functions. 2021-09-01 19:41:52 +00:00
mtx_destroy.cpp [libc][NFC] Add a platform independent thread support library. 2022-03-04 18:33:46 +00:00
mtx_destroy.h [libc] Add mtx_destroy which does nothing. 2021-08-30 20:43:46 +00:00
mtx_init.cpp [libc] Remove references to the std threads library from __support/threads. 2022-03-16 19:35:40 +00:00
mtx_init.h [libc][NFC][Obvious] Fix few header guards in src/threads. 2020-05-28 15:07:27 -07:00
mtx_lock.cpp [libc][NFC] Add a platform independent thread support library. 2022-03-04 18:33:46 +00:00
mtx_lock.h [libc][NFC][Obvious] Fix few header guards in src/threads. 2020-05-28 15:07:27 -07:00
mtx_unlock.cpp [libc][NFC] Add a platform independent thread support library. 2022-03-04 18:33:46 +00:00
mtx_unlock.h [libc][NFC][Obvious] Fix few header guards in src/threads. 2020-05-28 15:07:27 -07:00
thrd_create.cpp [libc] Add a linux Thread class in __support/threads. 2022-04-07 16:13:21 +00:00
thrd_create.h [libc] Add a linux Thread class in __support/threads. 2022-04-07 16:13:21 +00:00
thrd_detach.cpp [libc] Add pthread_detach and thrd_detach. 2022-06-11 05:29:40 +00:00
thrd_detach.h [libc] Add pthread_detach and thrd_detach. 2022-06-11 05:29:40 +00:00
thrd_join.cpp [libc] Keep all thread state information separate from the thread structure. 2022-06-01 17:36:58 +00:00
thrd_join.h [libc][NFC][Obvious] Fix few header guards in src/threads. 2020-05-28 15:07:27 -07:00