# std: Uniform polling logic for Windows and Unix · gitcafe/zig

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

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

Visibility: public

Requested revision: 1667c937a0869cc266ce43b4ecbde4ad49ca23c5

Requested commit: 1667c937a0869cc266ce43b4ecbde4ad49ca23c5

Commit: 1667c937a0869cc266ce43b4ecbde4ad49ca23c5

Tree: 37072911edf7cd42a3d0c0ef8fe7746ffd171c56

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
std: Uniform polling logic for Windows and Unix

Keep polling until there are enough open handles, if the child process
terminates closing the handles or explicitly closes them we just quit
polling and wait for the process handle to signal the termination
condition.

```

## Parents

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

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