This allows others parts of the libc to use the mutex types without
actually pulling in public function implementations.
Along the way, few cleanups have been done, like using a uniform type to
refer the linux futex word.
| Paths 
 |  Differential  D108749  
[libc][NFC] Move the mutex implementation into a utility class. ClosedPublic Authored by sivachandra on Aug 25 2021, 10:56 PM. 
Details Summary This allows others parts of the libc to use the mutex types without Along the way, few cleanups have been done, like using a uniform type to 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Aug 26 2021, 10:42 AM This revision was landed with ongoing or failed builds.Aug 26 2021, 11:49 AM Closed by commit rG004c7b1da6cf: [libc][NFC] Move the mutex implementation into a utility class. (authored by sivachandra).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 368951 libc/src/threads/linux/CMakeLists.txt
 libc/src/threads/linux/Futex.h
 
 libc/src/threads/linux/Mutex.h
 
 libc/src/threads/linux/Thread.h
 
 libc/src/threads/linux/call_once.cpp
 libc/src/threads/linux/mtx_init.cpp
 libc/src/threads/linux/mtx_lock.cpp
 libc/src/threads/linux/mtx_unlock.cpp
 libc/src/threads/linux/thrd_create.cpp
 libc/src/threads/linux/thrd_join.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||