Skip to content

Commit ccda834

Browse files
authored
Update TaskLocalRNG docstring according to JuliaLang#49110
1 parent 25cbe00 commit ccda834

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/Random/src/Xoshiro.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ end
185185
TaskLocalRNG
186186
187187
The `TaskLocalRNG` has state that is local to its task, not its thread.
188-
It is seeded upon task creation, from the state of its parent task.
189-
Therefore, task creation is an event that changes the parent's RNG state.
188+
It is seeded upon task creation, from the state of its parent task, but without
189+
advancing the state of the parent's RNG.
190190
191191
As an upside, the `TaskLocalRNG` is pretty fast, and permits reproducible
192192
multithreaded simulations (barring race conditions), independent of scheduler

0 commit comments

Comments
 (0)