aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv
diff options
context:
space:
mode:
authorMatthew Lugg <mlugg@mlugg.co.uk>2024-05-26 09:40:49 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-05-26 16:44:14 -0400
commit389181f6be8810b5cd432e236a962229257a5b59 (patch)
tree2130576f275126f3afc715c38161f90e10d0e920 /src/codegen/spirv
parent591bbafee37126dab2e035be717bb928c5953155 (diff)
downloadzig-389181f6be8810b5cd432e236a962229257a5b59.tar.gz
zig-389181f6be8810b5cd432e236a962229257a5b59.zip
std.process.Child: prevent racing children from inheriting one another's pipes
The added comment explains the issue here relatively well. The new progress API made this bug obvious because it became visibly clear that certain Compile steps were seemingly "hanging" until other steps completed. As it turned out, these child processes had raced to spawn, and hence one had inherited the other's stdio pipes, meaning the `poll` call in `std.Build.Step.evalZigProcess` was not identifying the child stdout as closed until an unrelated process terminated.
Diffstat (limited to 'src/codegen/spirv')
0 files changed, 0 insertions, 0 deletions