[all-commits] [llvm/llvm-project] 7ca237: [libc] Implement barriers for pthreads (#148948)
Uzair Nawaz via All-commits
all-commits at lists.llvm.org
Mon Jul 28 11:23:00 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7ca23754c486a8ed5b6739456a4562bc09909913
https://github.com/llvm/llvm-project/commit/7ca23754c486a8ed5b6739456a4562bc09909913
Author: Uzair Nawaz <uzairnawaz at google.com>
Date: 2025-07-28 (Mon, 28 Jul 2025)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/hdr/CMakeLists.txt
A libc/hdr/pthread_macros.h
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/pthread_barrier_t.h
A libc/hdr/types/pthread_barrierattr_t.h
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/pthread-macros.h
M libc/include/llvm-libc-types/CMakeLists.txt
A libc/include/llvm-libc-types/__barrier_type.h
A libc/include/llvm-libc-types/pthread_barrier_t.h
A libc/include/llvm-libc-types/pthread_barrierattr_t.h
M libc/include/pthread.yaml
M libc/src/__support/threads/linux/CMakeLists.txt
A libc/src/__support/threads/linux/barrier.cpp
A libc/src/__support/threads/linux/barrier.h
M libc/src/pthread/CMakeLists.txt
A libc/src/pthread/pthread_barrier_destroy.cpp
A libc/src/pthread/pthread_barrier_destroy.h
A libc/src/pthread/pthread_barrier_init.cpp
A libc/src/pthread/pthread_barrier_init.h
A libc/src/pthread/pthread_barrier_wait.cpp
A libc/src/pthread/pthread_barrier_wait.h
M libc/test/integration/src/pthread/CMakeLists.txt
A libc/test/integration/src/pthread/pthread_barrier_test.cpp
Log Message:
-----------
[libc] Implement barriers for pthreads (#148948)
Implemented barrier synchronization for pthreads
- Uses condition variables internally for platform independence
(platform-specific work is handled by the condition variable
implementation)
- Does NOT currently handle barrierattr pshared, this is a goal for a
future patch
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list