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

Initialize the rng of external threads #47956

Merged
merged 2 commits into from
Dec 27, 2022

Conversation

gbaraldi
Copy link
Member

Fixes #47757

@gbaraldi gbaraldi changed the title Initialize the rng of external threads with jl_rand() Initialize the rng of external threads Dec 21, 2022
@brenhinkeller brenhinkeller added randomness Random number generation and the Random stdlib multithreading Base.Threads and related functionality labels Dec 22, 2022
@gbaraldi gbaraldi added the backport 1.9 Change should be backported to release-1.9 label Dec 23, 2022
@KristofferC KristofferC merged commit 4c2a431 into JuliaLang:master Dec 27, 2022
KristofferC pushed a commit that referenced this pull request Dec 28, 2022
* Initialize the rng of external threads with uv_random

(cherry picked from commit 4c2a431)
@KristofferC KristofferC mentioned this pull request Dec 28, 2022
14 tasks
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multithreading Base.Threads and related functionality randomness Random number generation and the Random stdlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RNG is uninitialized on foreign threads
4 participants