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

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

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

Visibility: public

Requested revision: 291d941111dfc806c8cf95d380e647aca568381a

Requested commit: 291d941111dfc806c8cf95d380e647aca568381a

Commit: 291d941111dfc806c8cf95d380e647aca568381a

Tree: c148cfb51799b8042e35cfbf320ec72600d53c51

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

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

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