diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2025-03-03 15:29:33 -0500 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2025-03-03 19:17:29 -0500 |
| commit | d6002d68a2f15a286694fc36a8dfc599d4f5be68 (patch) | |
| tree | 05c45e5ff4b26134df32552a22addafdad94bdbe /src/llvm_backend_proc.cpp | |
| parent | 189b4782fb19dae260dcf1893583976463f21e6f (diff) | |
Make `os2.random_string` use `context.random_generator`
This removes the data race caused by multiple threads using the
unprotected global `random_string_seed`, so long as no two threads share
the same random generator; this is the default case.
Additionally, `os2.random_string` now takes into account the full buffer
slice given to it.
Diffstat (limited to 'src/llvm_backend_proc.cpp')
0 files changed, 0 insertions, 0 deletions