# std: implement \`Futex\` for WebAssembly · gitcafe/zig

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

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

Visibility: public

Requested revision: ea0d4c8377aeabe1ef588e82cbdd9aa729adbce0

Requested commit: ea0d4c8377aeabe1ef588e82cbdd9aa729adbce0

Commit: ea0d4c8377aeabe1ef588e82cbdd9aa729adbce0

Tree: 3da8d930fcd180b72053ea25cfa081d52084d8ac

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
std: implement `Futex` for WebAssembly

Implements std's `Futex` for the WebAssembly target using Wasm's
`atomics` instruction set. When the `atomics` cpu feature is disabled
we emit a compile-error.

```

## Parents

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

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