# std: finish moving os.windows.ReadLink logic to Io.Threaded · gitcafe/zig

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

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

Visibility: public

Requested revision: 18c6abc0ba9a58a3d25908c47df3bb9374d51c35

Requested commit: 18c6abc0ba9a58a3d25908c47df3bb9374d51c35

Commit: 18c6abc0ba9a58a3d25908c47df3bb9374d51c35

Tree: 65cb6c2fbfabd6be770c3574f01efd53bb6cc5df

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std: finish moving os.windows.ReadLink logic to Io.Threaded

- remove error.SharingViolation from all error sets since it has the
  same meaning as FileBusy
- add error.FileBusy to CreateFileAtomicError and ReadLinkError
- update dirReadLinkWindows to use NtCreateFile and NtFsControlFile and
  integrate with cancelation properly.
- move windows CTL_CODE constants to the proper namespace
- delete os.windows.ReadLink

```

## Parents

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

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