[all-commits] [llvm/llvm-project] 70c8d1: [libc] Add pthread_create and pthread_join functions.

Siva Chandra via All-commits all-commits at lists.llvm.org
Wed Jun 1 18:48:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70c8d12b79a58cf350256bb0a366f0e91000d82e
      https://github.com/llvm/llvm-project/commit/70c8d12b79a58cf350256bb0a366f0e91000d82e
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

  Changed paths:
    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_start_t.h
    A libc/include/llvm-libc-types/__thread_type.h
    A libc/include/llvm-libc-types/pthread_t.h
    M libc/include/llvm-libc-types/thrd_t.h
    M libc/spec/posix.td
    M libc/src/pthread/CMakeLists.txt
    A libc/src/pthread/pthread_create.cpp
    A libc/src/pthread/pthread_create.h
    A libc/src/pthread/pthread_join.cpp
    A libc/src/pthread/pthread_join.h
    M libc/test/src/pthread/CMakeLists.txt
    M libc/test/src/pthread/pthread_mutex_test.cpp
    A libc/test/src/pthread/pthread_test.cpp

  Log Message:
  -----------
  [libc] Add pthread_create and pthread_join functions.

They do not yet support all the feature/attributes in pthread_attr_t.
Future changes will add such support.

Reviewed By: lntue

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




More information about the All-commits mailing list