std.Io: reimplement Mutex and Condition atop futex

This work was partially cherry-picked from Andrew's WIP std.fs branch.
However, I also analyzed and simplified the Mutex and Condition
implementations, and brought them in line with modern Zig style.

Co-authored-by: Andrew Kelley <andrew@ziglang.org>
b4ee54b580Matthew Lugg committed on 12/21/2025, 1:07:03 PMparent6ed5b62
4 files changedLine totals unavailable