[all-commits] [llvm/llvm-project] 83f153: [libc] Add pthread_mutexattr_t type and its setter...

Siva Chandra via All-commits all-commits at lists.llvm.org
Mon Apr 4 11:11:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83f153ce34b4dea1de6d96a2d54aa6861c40cc0c
      https://github.com/llvm/llvm-project/commit/83f153ce34b4dea1de6d96a2d54aa6861c40cc0c
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-04-04 (Mon, 04 Apr 2022)

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

  Log Message:
  -----------
  [libc] Add pthread_mutexattr_t type and its setters and getters.

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

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D122969




More information about the All-commits mailing list