aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.zig
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2020-11-28 15:31:26 +0100
committerAndrew Kelley <andrew@ziglang.org>2020-11-29 10:31:06 -0800
commit89ee4b86210dd3292f39e8ab405834a11865833c (patch)
tree7aacb38ea122f3178fb38c547b9132f0d6b747ad /src/codegen.zig
parentabc729a5f9da9f4520079507404dd5d299209cba (diff)
downloadzig-89ee4b86210dd3292f39e8ab405834a11865833c.tar.gz
zig-89ee4b86210dd3292f39e8ab405834a11865833c.zip
std: Avoid deadlock in the signal handler
stderr_mutex may still be held when we reach the signal handler, grab our own stderr handle to print the error messages and avoid deadlocking. Closes #7247
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions