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

don't throw EOFError from sleep #54955

Merged
merged 2 commits into from
Jul 17, 2024
Merged

Commits on Jun 27, 2024

  1. don't throw EOFError from sleep

    We will no longer throw a error if the timer fires after we first checked set.
    
    But still keeps this case functional:
    ```
    julia> t = Timer(1000000000);
    
    julia> close(t)
    
    julia> t.set
    false
    
    julia> wait(t)
    ERROR: EOFError: read end of file
    Stacktrace:
     [1] wait(t::Timer)
       @ Base .\asyncevent.jl:159
     [2] top-level scope
       @ REPL[16]:1
    ```
    lgeissbauer-btig committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    54322d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. add acquire/release ordering

    vtjnash committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    4f978db View commit details
    Browse the repository at this point in the history