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

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

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

Visibility: public

Requested revision: 693b2ffd5cc5b17aedb58aed6b12237659a9dcb7

Requested commit: 693b2ffd5cc5b17aedb58aed6b12237659a9dcb7

Commit: 693b2ffd5cc5b17aedb58aed6b12237659a9dcb7

Tree: 497e116206f1e7ee139294cf286a907bc916db3f

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

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

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