aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2025-03-03 15:29:33 -0500
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2025-03-03 19:17:29 -0500
commitd6002d68a2f15a286694fc36a8dfc599d4f5be68 (patch)
tree05c45e5ff4b26134df32552a22addafdad94bdbe /src/check_decl.cpp
parent189b4782fb19dae260dcf1893583976463f21e6f (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/check_decl.cpp')
0 files changed, 0 insertions, 0 deletions