[libc][NFC] Remove the templatization from the linux implementation of thread.
authorSiva Chandra Reddy <sivachandra@google.com>
Thu, 23 Jun 2022 18:18:50 +0000 (18:18 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Fri, 24 Jun 2022 08:22:53 +0000 (08:22 +0000)
commitf4580c6d5a44379f3b1be033f39ec7af78dbbbfa
treef752af3d381abea1fd73fe38a903c54e4d93ff2d
parent2b3de2971790964691b351cc068f936eeeea32a4
[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.
libc/src/__support/threads/linux/thread.h
libc/src/__support/threads/thread.h
libc/src/__support/threads/thread_attrib.h
libc/src/pthread/pthread_create.cpp
libc/src/pthread/pthread_detach.cpp
libc/src/pthread/pthread_join.cpp
libc/src/threads/thrd_create.cpp
libc/src/threads/thrd_detach.cpp
libc/src/threads/thrd_join.cpp