aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2025-12-20 20:18:07 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-12-23 22:15:11 -0800
commite442a0ecc23d315f99f62684c6240e7c1cb6e9ce (patch)
tree2e034d8953310f01d219f7f65e6cc2db3eea73f8 /lib/std/Thread.zig
parentad08117e9daf5d2a34be1ca71a23366f39079990 (diff)
downloadzig-e442a0ecc23d315f99f62684c6240e7c1cb6e9ce.tar.gz
zig-e442a0ecc23d315f99f62684c6240e7c1cb6e9ce.zip
Dir.readFile/readFileAlloc: take advantage of `.allow_directory = false` on Windows
Since we know the read will fail for directories, we can take advantage of Windows being able to fail with IsDir during open to avoid needing to wait until the read to find out about the directory-ness of the file.
Diffstat (limited to 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions