# std.Io: reimplement Mutex and Condition atop futex · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/b4ee54b5804b8afb0387a36c913a2cd8cf595409)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: b4ee54b5804b8afb0387a36c913a2cd8cf595409

Requested commit: b4ee54b5804b8afb0387a36c913a2cd8cf595409

Commit: b4ee54b5804b8afb0387a36c913a2cd8cf595409

Tree: ee9dd3e02280bdf424772f097b1fb917bdd89eef

Author: Matthew Lugg

Committer: Matthew Lugg

## Message

```
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>

```

## Parents

- [6ed5b620507aa4589d6c6fe3a5e48e166d48b3d2](https://git.cafe/gitcafe/zig/commit/6ed5b620507aa4589d6c6fe3a5e48e166d48b3d2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/b4ee54b5804b8afb0387a36c913a2cd8cf595409?format=markdown)
