When closing all open units, don't hold the unit map lock
over the actual close operations; if one of those aborts,
CloseAll() may be called and then deadlock.
Details
Details
- Reviewers
vdonaldson PeteSteinfeld
Diff Detail
Diff Detail
Differential D115184
[flang] Avoid potential deadlock in CloseAll() klausler on Dec 6 2021, 1:44 PM. Authored by
Details
When closing all open units, don't hold the unit map lock
Diff Detail |