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

Remove MutexGuard::map, as it is not safe in combination with Condvar. #31428

Merged
merged 1 commit into from
Feb 6, 2016

Commits on Feb 5, 2016

  1. Remove MutexGuard::map, as it is not safe in combination with Condvar.

    It could return in the future if it returned a different guard type, which
    could not be used with Condvar, otherwise it is unsafe as another thread
    can invalidate an "inner" reference during a Condvar::wait.
    
    cc rust-lang#27746
    reem committed Feb 5, 2016
    Configuration menu
    Copy the full SHA
    a61983f View commit details
    Browse the repository at this point in the history