aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2021-05-20 15:28:59 +0200
committerLemonBoy <thatlemon@gmail.com>2021-05-20 15:28:59 +0200
commitec9a44b2a59a9061e1979be5268dd657cd5402fd (patch)
tree9dc2eaa0fd82e58ec83c58c6bcf5c7bc5db1659b /src/Compilation.zig
parentabfe7f96dd45e22d43c3e14ed64e1fbb8e94b419 (diff)
downloadzig-ec9a44b2a59a9061e1979be5268dd657cd5402fd.tar.gz
zig-ec9a44b2a59a9061e1979be5268dd657cd5402fd.zip
std: Make atfork handler more robust
The atfork handler is executed even when fork()-ing threads that have never initialized their local csprng. Handle this case gracefully instead of raising a runtime error. Fixes #8841
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions