# std.Io.Threaded: move the NtDelayExecution later in batchWait · gitcafe/zig

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

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

Visibility: public

Requested revision: fdf1ee973e9f3cb01f6fec9e460950622cdf92e4

Requested commit: fdf1ee973e9f3cb01f6fec9e460950622cdf92e4

Commit: fdf1ee973e9f3cb01f6fec9e460950622cdf92e4

Tree: 118ef95b64df5e44c73db969e69bb8703d1de925

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Io.Threaded: move the NtDelayExecution later in batchWait

also guard against receiving SUCCESS with 0 byte read

ms docs say that pipes can do this if there is a 0 byte write

```

## Parents

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

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