aboutsummaryrefslogtreecommitdiff
path: root/stdlib/rng.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-12-19 15:16:33 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-12-19 15:16:33 -0500
commit221f4ad7ea257d7d65598e89799cb389d6d5932d (patch)
tree03752fbc6042c3241f6fde70eb843e60e6b7bf7a /stdlib/rng.h
parent88d1bde371ba6bec42952f7cce242afd41f524d9 (diff)
Default RNG now uses static, thread-local memory instead of heap
allocated
Diffstat (limited to 'stdlib/rng.h')
-rw-r--r--stdlib/rng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/rng.h b/stdlib/rng.h
index 89b53505..5bc4794f 100644
--- a/stdlib/rng.h
+++ b/stdlib/rng.h
@@ -26,6 +26,6 @@ Num_t RNG$num(RNG_t rng, Num_t min, Num_t max);
Num32_t RNG$num32(RNG_t rng, Num32_t min, Num32_t max);
extern const TypeInfo_t RNG$info;
-extern RNG_t default_rng;
+extern _Thread_local RNG_t default_rng;
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0