Shreeyash Pandey 3c97829d97
[libc] Add Darwin mutex support via os_sync primitives (#167722)
This patch implements the generic mutex and raw_mutex interfaces on
macOS. A new Futex class is provided that relies on os_sync_wait and
os_sync_wake to emulate futex‑like wait and wake semantics. The
OS‑specific part is moved into futex_utils, which now contains the
Darwin implementation.
2025-12-16 23:22:19 +05:30
..