[all-commits] [llvm/llvm-project] 336753: [libc] Add implementation of pthread_once.
Siva Chandra via All-commits
all-commits at lists.llvm.org
Tue Sep 27 23:55:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3367539010870ae05d7ff5677734357f3a6c965f
https://github.com/llvm/llvm-project/commit/3367539010870ae05d7ff5677734357f3a6c965f
Author: Siva Chandra Reddy <sivachandra at google.com>
Date: 2022-09-28 (Wed, 28 Sep 2022)
Changed paths:
M libc/config/linux/api.td
M libc/config/linux/x86_64/entrypoints.txt
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-types/CMakeLists.txt
A libc/include/llvm-libc-types/__pthread_once_func_t.h
A libc/include/llvm-libc-types/pthread_once_t.h
M libc/include/pthread.h.def
M libc/spec/posix.td
M libc/src/__support/threads/CMakeLists.txt
A libc/src/__support/threads/callonce.h
A libc/src/__support/threads/linux/callonce.cpp
M libc/src/pthread/CMakeLists.txt
A libc/src/pthread/pthread_once.cpp
A libc/src/pthread/pthread_once.h
M libc/src/threads/CMakeLists.txt
A libc/src/threads/call_once.cpp
M libc/src/threads/call_once.h
M libc/src/threads/linux/CMakeLists.txt
M libc/test/integration/src/pthread/CMakeLists.txt
A libc/test/integration/src/pthread/pthread_once_test.cpp
Log Message:
-----------
[libc] Add implementation of pthread_once.
The existing thrd_once function has been refactored so that the
implementation can be shared between thrd_once and pthread_once
functions.
Reviewed By: michaelrj
Differential Revision: https://reviews.llvm.org/D134716
More information about the All-commits
mailing list