[libc-commits] [libc] [libc] add `pthread_cond_*` public interfaces (PR #193656)
Alexey Samsonov via libc-commits
libc-commits at lists.llvm.org
Wed Apr 22 22:47:13 PDT 2026
================
@@ -45,6 +45,15 @@
}
#endif
+#define PTHREAD_COND_INITIALIZER \
+ { \
+ /* .__waiter_queue = */ {NULL, NULL}, \
+ /* .__futex = */ {0}, \
+ /* .__shared = */ 0, \
+ /*__is_realtime = */ 1, \
----------------
vonosmas wrote:
Should this be `.__is_realtime` for consistency? Also, I'm not sure about the naming guidelines, but internal type uses `is_shared` and `is_realtime`, so I wonder if we can follow the same pattern here.
https://github.com/llvm/llvm-project/pull/193656
More information about the libc-commits
mailing list