[libc-commits] [libc] [libc] implement recursive mutex and fix wrong initializer (PR #193992)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Mon Apr 27 13:54:55 PDT 2026
================
@@ -199,14 +285,12 @@ void multiple_waiters() {
LIBC_NAMESPACE::pthread_mutex_destroy(&counter_lock);
}
-// Test the initializer
-[[maybe_unused]]
-static pthread_mutex_t test_initializer = PTHREAD_MUTEX_INITIALIZER;
----------------
SchrodingerZhu wrote:
Indeed. I will add it back.
https://github.com/llvm/llvm-project/pull/193992
More information about the libc-commits
mailing list