Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document thread safety for RNGs #40109

Merged
merged 1 commit into from
Mar 21, 2021
Merged

document thread safety for RNGs #40109

merged 1 commit into from
Mar 21, 2021

Conversation

stevengj
Copy link
Member

There seems to be frequent confusion about this — the global RNG has been thread-safe since #32407, but this was apparently never documented in the manual.

(If #34852 is ever merged, this should be updated to indicate that the default RNG is per-task rather than per-thread.)

@stevengj stevengj added docs This change adds or pertains to documentation randomness Random number generation and the Random stdlib labels Mar 19, 2021
@ViralBShah ViralBShah merged commit 7d117dc into master Mar 21, 2021
@ViralBShah ViralBShah deleted the stevengj-patch-7 branch March 21, 2021 12:56
@ViralBShah ViralBShah added the backport 1.6 Change should be backported to release-1.6 label Mar 21, 2021
KristofferC pushed a commit that referenced this pull request Mar 23, 2021
@KristofferC KristofferC mentioned this pull request Mar 23, 2021
10 tasks
KristofferC pushed a commit that referenced this pull request Mar 23, 2021
@KristofferC KristofferC removed the backport 1.6 Change should be backported to release-1.6 label Mar 26, 2021
KristofferC pushed a commit that referenced this pull request Apr 4, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation randomness Random number generation and the Random stdlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants