[libc-commits] [PATCH] D134716: [libc] Add implementation of pthread_once.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Sep 27 01:20:50 PDT 2022


sivachandra created this revision.
sivachandra added a reviewer: michaelrj.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.

The existing thrd_once function has been refactored so that the
implementation can be shared between thrd_once and pthread_once
functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134716

Files:
  libc/config/linux/api.td
  libc/config/linux/x86_64/entrypoints.txt
  libc/include/CMakeLists.txt
  libc/include/llvm-libc-types/CMakeLists.txt
  libc/include/llvm-libc-types/__pthread_once_func_t.h
  libc/include/llvm-libc-types/pthread_once_t.h
  libc/include/pthread.h.def
  libc/spec/posix.td
  libc/src/__support/threads/CMakeLists.txt
  libc/src/__support/threads/callonce.h
  libc/src/__support/threads/linux/callonce.cpp
  libc/src/pthread/CMakeLists.txt
  libc/src/pthread/pthread_once.cpp
  libc/src/pthread/pthread_once.h
  libc/src/threads/CMakeLists.txt
  libc/src/threads/call_once.cpp
  libc/src/threads/call_once.h
  libc/src/threads/linux/CMakeLists.txt
  libc/test/integration/src/pthread/CMakeLists.txt
  libc/test/integration/src/pthread/pthread_once_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134716.463141.patch
Type: text/x-patch
Size: 19117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220927/bafd1986/attachment-0001.bin>


More information about the libc-commits mailing list