aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-05-02 14:08:59 -0400
committerAndrew Kelley <andrew@ziglang.org>2020-05-02 14:09:17 -0400
commit5656f5090d8646e076db50da03cfc6ae686eb76b (patch)
tree89b400bd5cf8eadf57b92af194a44bc9530f9594 /src/analyze.cpp
parent9dac8a5be9f5e439ea857b22867aaf2dc5b70c62 (diff)
downloadzig-5656f5090d8646e076db50da03cfc6ae686eb76b.tar.gz
zig-5656f5090d8646e076db50da03cfc6ae686eb76b.zip
fs.File: improve handling async I/O on Windows
Before it was possible for .intended_io_mode = .blocking, .capable_io_mode = .evented, and then the implementation would put a request on the fs thread, which is the wrong behavior. Now it always calls the appropriate WriteFile/ReadFile function, passing the intended io mode directly as a parameter. This makes the behavior tests pass on Windows with --test-evented-io.
Diffstat (limited to 'src/analyze.cpp')
0 files changed, 0 insertions, 0 deletions