llvm-project/libc/include/llvm-libc-types
Siva Chandra Reddy a5ee8183c0 [libc][NFC] Add a platform independent thread support library.
The idea is that, other parts of the libc which require thread/lock
support will be able to use this platform independent setup.

With this change, only the linux implementation of a mutex type has been
moved to the new library. Because of this, there is some duplication
between the new library and src/threads/linux. A follow up change will
move all of src/threads/linux to the new library. The duplication should
be eliminated with that move.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D120795
2022-03-04 18:33:46 +00:00
..
CMakeLists.txt [libc][NFC] Add a platform independent thread support library. 2022-03-04 18:33:46 +00:00
FILE.h
__atexithandler_t.h [libc] Add exit and atexit 2022-02-17 17:21:55 +00:00
__bsearchcompare_t.h
__call_once_func_t.h
__futex_word.h [libc][NFC] Add a static assert for futex size. 2022-03-01 22:56:56 +00:00
__mutex_type.h [libc][NFC] Add a platform independent thread support library. 2022-03-04 18:33:46 +00:00
__qsortcompare_t.h
__sighandler_t.h
cnd_t.h [libc] Add a class "Atomic" as a simple equivalent of std::atomic. 2022-02-28 23:51:44 +00:00
div_t.h
double_t.h
fenv_t.h
fexcept_t.h
float_t.h
imaxdiv_t.h
ldiv_t.h
lldiv_t.h
mode_t.h [libc] Add POSIX close, fsync, open, read and write functions. 2022-01-27 20:32:02 +00:00
mtx_t.h [libc][NFC] Add a platform independent thread support library. 2022-03-04 18:33:46 +00:00
off_t.h
once_flag.h [libc] Remove the remaining uses of stdatomic.h. 2022-03-01 17:12:39 +00:00
size_t.h
ssize_t.h
struct_sigaction.h [libc][NFC] Add 'struct_' prefix to type headers defining struct types. 2022-01-21 07:04:32 +00:00
struct_tm.h [libc][NFC] Add 'struct_' prefix to type headers defining struct types. 2022-01-21 07:04:32 +00:00
thrd_start_t.h
thrd_t.h [libc] Remove the remaining uses of stdatomic.h. 2022-03-01 17:12:39 +00:00
time_t.h