Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
threads: avoid deadlock from recursive lock acquire (PR JuliaLang/jul…
…ia#38487) (JuliaLang/julia#38753) 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). (cherry-picked from ec8466b)
- Loading branch information