# std.Io.Threaded: fix memory mapping on windows · gitcafe/zig

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

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

Visibility: public

Requested revision: 7b21fd7244ed1b0459b542346e96a20e91138f69

Requested commit: 7b21fd7244ed1b0459b542346e96a20e91138f69

Commit: 7b21fd7244ed1b0459b542346e96a20e91138f69

Tree: f5a448d213c0176b5a20cd03e59a9f69765c2af7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Io.Threaded: fix memory mapping on windows

- set protection flags properly
- handle when mapping fails after unmapping

```

## Parents

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

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