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

Simplify using lock_arc #20

Merged
merged 1 commit into from Jan 28, 2022
Merged

Simplify using lock_arc #20

merged 1 commit into from Jan 28, 2022

Commits on Jan 26, 2022

  1. Simplify using lock_arc

    The future returned by lock_arc would already resolve to a
    MutexGuardArc that kept the Arc<Mutex> alive. Unfortunately, sometimes
    one needs to store the future itself, not the MutexGuardArc and the
    future had a reference to the Arc<Mutex>.
    
    With this patch, the future itself also has a Arc<Mutex>.
    espindola committed Jan 26, 2022
    Copy the full SHA
    9a92efd View commit details
    Browse the repository at this point in the history