[libc] Add implementation of pthread_exit and thrd_exit.
authorSiva Chandra Reddy <sivachandra@google.com>
Fri, 5 Aug 2022 20:53:46 +0000 (20:53 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Wed, 10 Aug 2022 06:28:47 +0000 (06:28 +0000)
commit0071a79532e8d664b734956a431d8c8c942cc25e
treec1d2734590433800deca7b5a15d81f40e9bcdba2
parent0729d00135ccbe1514a49168bbf26986823235c2
[libc] Add implementation of pthread_exit and thrd_exit.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D131451
18 files changed:
libc/config/linux/x86_64/entrypoints.txt
libc/loader/linux/x86_64/start.cpp
libc/spec/posix.td
libc/spec/stdc.td
libc/src/__support/threads/CMakeLists.txt
libc/src/__support/threads/linux/thread.cpp
libc/src/__support/threads/thread.cpp
libc/src/__support/threads/thread.h
libc/src/pthread/CMakeLists.txt
libc/src/pthread/pthread_exit.cpp [new file with mode: 0644]
libc/src/pthread/pthread_exit.h [new file with mode: 0644]
libc/src/threads/CMakeLists.txt
libc/src/threads/thrd_exit.cpp [new file with mode: 0644]
libc/src/threads/thrd_exit.h [new file with mode: 0644]
libc/test/integration/src/pthread/CMakeLists.txt
libc/test/integration/src/pthread/pthread_exit_test.cpp [new file with mode: 0644]
libc/test/integration/src/threads/CMakeLists.txt
libc/test/integration/src/threads/thrd_exit_test.cpp [new file with mode: 0644]