# std: implement a cross platform file locking abstraction · gitcafe/zig

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

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

Visibility: public

Requested revision: 06129d7e3d5a8d9449edc98510a6d4f7a171b27f

Requested commit: 06129d7e3d5a8d9449edc98510a6d4f7a171b27f

Commit: 06129d7e3d5a8d9449edc98510a6d4f7a171b27f

Tree: 9aa7bddedea56cb33ace3e7fed78d7e92b06472a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std: implement a cross platform file locking abstraction

This modifies the lock semantics from using AccessMode to using
NtLockFile/NtUnlockFile.

This is a breaking change.

```

## Parents

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

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