Use an object array for synchronising on internal chunk sections rather than the sections array itself.

- Synchronising on full sections synchronises on the global FULL instance (bad)
- Synchronising on empty sections synchronises on the local empty instance (bad)
- Leads to needless thread locking, and raises the possibility of cyclic locks considerably
This commit is contained in:
dordsor21
2021-09-15 01:20:04 +01:00
committed by GitHub
parent e989a4ebb0
commit f10dbe7387
3 changed files with 27 additions and 12 deletions