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

threads: avoid deadlock from recursive lock acquire #38487

Merged
merged 2 commits into from
Dec 4, 2020

Commits on Dec 3, 2020

  1. threads: avoid deadlock from recursive lock acquire

    Finalizers can't safely acquire many essential locks (such as the
    iolock, to cleanup libuv objects) if they are run inside another lock.
    Therefore, inhibit all finalizers on the thread until all locks are
    released (previously, this was only true for our internal locks).
    vtjnash committed Dec 3, 2020
    Configuration menu
    Copy the full SHA
    59aedd1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72bebdf View commit details
    Browse the repository at this point in the history