# std: back out the flags field of Io.File · gitcafe/zig

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

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

Visibility: public

Requested revision: 8827488fcd556e6e95d97e838f781e6141ebde8c

Requested commit: 8827488fcd556e6e95d97e838f781e6141ebde8c

Commit: 8827488fcd556e6e95d97e838f781e6141ebde8c

Tree: b7f7bc1b8c9d105646960bb787138f8b0caa72b6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std: back out the flags field of Io.File

For now, let us refrain from putting the sync mode into the Io.File
struct, and document that to do concurrent batch operations, any Windows
file handles must be in asynchronous mode. The consequences for
violating this requirement is neither illegal behavior, nor an error,
but that concurrency is lost. In other words, deadlock might occur. This
prevents the addition of flags field.

partial revert of 2faf14200f58ee72ec3a13e894d765f59e6483a9

```

## Parents

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

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