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

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

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

Visibility: public

Requested revision: 4f948bb13e1af263f544c86ac662bba298ca461f

Requested commit: 4f948bb13e1af263f544c86ac662bba298ca461f

Commit: 4f948bb13e1af263f544c86ac662bba298ca461f

Tree: 7a3a3d0fa59b498876a510b9b353575e1b39ed2c

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

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

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