[libc-commits] [PATCH] D131647: [libc] Add implemementations of thread specific data related API.
    Siva Chandra via Phabricator via libc-commits 
    libc-commits at lists.llvm.org
       
    Wed Aug 10 22:18:36 PDT 2022
    
    
  
sivachandra created this revision.
sivachandra added reviewers: lntue, michaelrj.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.
Specifically, POSIX functions pthread_key_create, pthread_key_delete,
pthread_setspecific and pthread_getspecific have been added. The C
standard equivalents tss_create, tss_delete, tss_set and tss_get have
also been added.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D131647
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_tss_dtor_t.h
  libc/include/llvm-libc-types/pthread_key_t.h
  libc/include/llvm-libc-types/tss_dtor_t.h
  libc/include/llvm-libc-types/tss_t.h
  libc/spec/posix.td
  libc/spec/stdc.td
  libc/src/__support/threads/CMakeLists.txt
  libc/src/__support/threads/thread.cpp
  libc/src/__support/threads/thread.h
  libc/src/pthread/CMakeLists.txt
  libc/src/pthread/pthread_getspecific.cpp
  libc/src/pthread/pthread_getspecific.h
  libc/src/pthread/pthread_key_create.cpp
  libc/src/pthread/pthread_key_create.h
  libc/src/pthread/pthread_key_delete.cpp
  libc/src/pthread/pthread_key_delete.h
  libc/src/pthread/pthread_setspecific.cpp
  libc/src/pthread/pthread_setspecific.h
  libc/src/threads/CMakeLists.txt
  libc/src/threads/tss_create.cpp
  libc/src/threads/tss_create.h
  libc/src/threads/tss_delete.cpp
  libc/src/threads/tss_delete.h
  libc/src/threads/tss_get.cpp
  libc/src/threads/tss_get.h
  libc/src/threads/tss_set.cpp
  libc/src/threads/tss_set.h
  libc/test/integration/src/pthread/CMakeLists.txt
  libc/test/integration/src/pthread/pthread_tss_test.cpp
  libc/test/integration/src/threads/CMakeLists.txt
  libc/test/integration/src/threads/tss_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131647.451724.patch
Type: text/x-patch
Size: 37467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220811/97844f55/attachment-0001.bin>
    
    
More information about the libc-commits
mailing list