[libc-commits] [PATCH] D122969: [libc] Add pthread_mutexattr_t type and its setters and getters.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Sat Apr 2 00:22:15 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.

A simple implementation of the getters and setters has been added. More
logic can be added to them in future as required.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122969

Files:
  libc/config/linux/aarch64/entrypoints.txt
  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_mutexattr_t.h
  libc/include/pthread.h.def
  libc/spec/posix.td
  libc/spec/spec.td
  libc/src/CMakeLists.txt
  libc/src/pthread/CMakeLists.txt
  libc/src/pthread/pthread_mutexattr.h
  libc/src/pthread/pthread_mutexattr_destroy.cpp
  libc/src/pthread/pthread_mutexattr_destroy.h
  libc/src/pthread/pthread_mutexattr_getpshared.cpp
  libc/src/pthread/pthread_mutexattr_getpshared.h
  libc/src/pthread/pthread_mutexattr_getrobust.cpp
  libc/src/pthread/pthread_mutexattr_getrobust.h
  libc/src/pthread/pthread_mutexattr_gettype.cpp
  libc/src/pthread/pthread_mutexattr_gettype.h
  libc/src/pthread/pthread_mutexattr_init.cpp
  libc/src/pthread/pthread_mutexattr_init.h
  libc/src/pthread/pthread_mutexattr_setpshared.cpp
  libc/src/pthread/pthread_mutexattr_setpshared.h
  libc/src/pthread/pthread_mutexattr_setrobust.cpp
  libc/src/pthread/pthread_mutexattr_setrobust.h
  libc/src/pthread/pthread_mutexattr_settype.cpp
  libc/src/pthread/pthread_mutexattr_settype.h
  libc/test/src/CMakeLists.txt
  libc/test/src/pthread/CMakeLists.txt
  libc/test/src/pthread/pthread_mutexattr_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122969.419952.patch
Type: text/x-patch
Size: 33650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220402/8b1dfe92/attachment-0001.bin>


More information about the libc-commits mailing list