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

support threads in precompile and jl_task_wait_empty #52445

Merged
merged 1 commit into from
Dec 11, 2023

Commits on Dec 8, 2023

  1. support threads in precompile and jl_task_wait_empty

    Add a `nrunning` counter which identifies (when zero) when there is
    nothing running anymore. Allowing us to gate all tasks on all threads on
    reaching a quiescent state, not just thread 0. This should let us better
    support running precompile with threads (since we will be ensured that
    all of them are asleep in a consistent state before serialization tries
    to inspect the process state). We could additionally stop them
    afterwards to make sure there is no way for them to begin running, even
    if we forgot about some other event source, but that seems unnecessary
    paranoia for now.
    vtjnash committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    d952c80 View commit details
    Browse the repository at this point in the history