[all-commits] [llvm/llvm-project] f4580c: [libc][NFC] Remove the templatization from the lin...

Siva Chandra via All-commits all-commits at lists.llvm.org
Fri Jun 24 01:23:33 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4580c6d5a44379f3b1be033f39ec7af78dbbbfa
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-06-24 (Fri, 24 Jun 2022)

  Changed paths:
    M libc/src/__support/threads/linux/thread.h
    M libc/src/__support/threads/thread.h
    M libc/src/__support/threads/thread_attrib.h
    M libc/src/pthread/pthread_create.cpp
    M libc/src/pthread/pthread_detach.cpp
    M libc/src/pthread/pthread_join.cpp
    M libc/src/threads/thrd_create.cpp
    M libc/src/threads/thrd_detach.cpp
    M libc/src/threads/thrd_join.cpp

  Log Message:
  [libc][NFC] Remove the templatization from the linux implementation of thread.

This enables setting up a single "self" thread object to be returned by
API like thrd_self and pthread_self.

More information about the All-commits mailing list