Skip to content

Conversation

@gbaraldi
Copy link
Member

Fixes #47757

@DilumAluthge DilumAluthge requested a review from vtjnash December 21, 2022 19:04
@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