[all-commits] [llvm/llvm-project] 0258f5: [libc] Add a definition of pthread_attr_t and its ...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0258f566466268704caa2476f20e4a87a6257d06
      https://github.com/llvm/llvm-project/commit/0258f566466268704caa2476f20e4a87a6257d06
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-04-11 (Mon, 11 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_attr_t.h
    M libc/include/pthread.h.def
    M libc/spec/posix.td
    M libc/spec/spec.td
    M libc/src/pthread/CMakeLists.txt
    A libc/src/pthread/pthread_attr_destroy.cpp
    A libc/src/pthread/pthread_attr_destroy.h
    A libc/src/pthread/pthread_attr_getdetachstate.cpp
    A libc/src/pthread/pthread_attr_getdetachstate.h
    A libc/src/pthread/pthread_attr_getguardsize.cpp
    A libc/src/pthread/pthread_attr_getguardsize.h
    A libc/src/pthread/pthread_attr_getstack.cpp
    A libc/src/pthread/pthread_attr_getstack.h
    A libc/src/pthread/pthread_attr_getstacksize.cpp
    A libc/src/pthread/pthread_attr_getstacksize.h
    A libc/src/pthread/pthread_attr_init.cpp
    A libc/src/pthread/pthread_attr_init.h
    A libc/src/pthread/pthread_attr_setdetachstate.cpp
    A libc/src/pthread/pthread_attr_setdetachstate.h
    A libc/src/pthread/pthread_attr_setguardsize.cpp
    A libc/src/pthread/pthread_attr_setguardsize.h
    A libc/src/pthread/pthread_attr_setstack.cpp
    A libc/src/pthread/pthread_attr_setstack.h
    A libc/src/pthread/pthread_attr_setstacksize.cpp
    A libc/src/pthread/pthread_attr_setstacksize.h
    M libc/test/src/pthread/CMakeLists.txt
    A libc/test/src/pthread/pthread_attr_test.cpp

  Log Message:
  -----------
  [libc] Add a definition of pthread_attr_t and its getters and setters.

Not all attributes have been added to phtread_attr_t in this patch. They
will be added gradually in future patches.

Reviewed By: lntue

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




More information about the All-commits mailing list