[libc-commits] [PATCH] D156276: [libc] pthread.h.def: add PTHREAD_MUTEX_INITIALIZER

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jul 25 16:47:22 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc1ce7c8341be: [libc] pthread.h.def: add PTHREAD_MUTEX_INITIALIZER (authored by alfredfo, committed by michaelrj).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156276/new/

https://reviews.llvm.org/D156276

Files:
  libc/include/pthread.h.def


Index: libc/include/pthread.h.def
===================================================================
--- libc/include/pthread.h.def
+++ libc/include/pthread.h.def
@@ -13,6 +13,7 @@
 
 #define PTHREAD_STACK_MIN (1 << 14) // 16KB
 
+#define PTHREAD_MUTEX_INITIALIZER {0}
 #define PTHREAD_ONCE_INIT {0}
 
 enum {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156276.544149.patch
Type: text/x-patch
Size: 311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230725/24589713/attachment.bin>


More information about the libc-commits mailing list