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

Add Eio.Condition #277

Merged
merged 2 commits into from
Aug 11, 2022
Merged

Add Eio.Condition #277

merged 2 commits into from
Aug 11, 2022

Commits on Aug 10, 2022

  1. Add Eio.Condition

    TheLortex authored and talex5 committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    b9c43ad View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

  1. Eio.Condition: unlock mutex on cancellation

    If we're cancelled while waiting for a condition, we should still
    take the lock again before returning (as Lwt does).
    
    Also, make the `mutex` required on `await` and have a separate
    `await_no_mutex` for that case. This is to make it harder to forget the
    mutex if you need it.
    talex5 committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    49c2269 View commit details
    Browse the repository at this point in the history