Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We can upgrade readers to writers when the current thread already has…
… a writer lock This is a missing condition in RWLock::canWriteLockFromRead() that is possible in RWLock::upgradeToWrite() when the current thread already has a writer lock. This case is handled as a re-entrant lock (LockResult::Reentrant) and means that the thread can upgrade any reader to writer anyway. Completes: 157533d Related to: aseprite/aseprite#4310
- Loading branch information