Julia Programming Language
Random numbers and threads
General Usage
question
,
multithreading
,
random
stevengj
March 3, 2022, 4:22pm
9
Yes, because the “global” rng is actually a task-local state.
Multiple independent random number streams
show post in topic
Related topics
Topic
Replies
Views
Activity
Is this pattern still thread safe in Julia 1.12?
General Usage
question
,
multithreading
14
626
October 29, 2025
Parallel Mersenne Twister
Internals & Design
question
18
2472
January 19, 2020
How to run multiple threads, all using the same sequence of pseudorandom numbers, in Julia?
General Usage
multithreading
,
random
9
1137
August 30, 2021
Number of threads available seems random (using @spawn)
New to Julia
parallel
19
1396
August 25, 2020
Multithreading and random number generators
General Usage
multithreading
7
3735
March 15, 2021