diff options
| author | LemonBoy <thatlemon@gmail.com> | 2021-05-20 15:28:59 +0200 |
|---|---|---|
| committer | LemonBoy <thatlemon@gmail.com> | 2021-05-20 15:28:59 +0200 |
| commit | ec9a44b2a59a9061e1979be5268dd657cd5402fd (patch) | |
| tree | 9dc2eaa0fd82e58ec83c58c6bcf5c7bc5db1659b /src/Compilation.zig | |
| parent | abfe7f96dd45e22d43c3e14ed64e1fbb8e94b419 (diff) | |
| download | zig-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
