Closed Thorium closed 7 months ago
Trial to fix #1466: Do use separate lock-object instead of locking the array itself.
The PR uses the best practices of .NET, see: Jeff Richter book "CLR Via C#" chapter on locks. Or e.g. https://stackoverflow.com/questions/1873201/why-are-locks-performed-on-separate-objects
The CI build is failing for "BuildFailedException: Target 'GenerateDocs' failed." However that is a separate issue, not related to this PR.
Trial to fix #1466: Do use separate lock-object instead of locking the array itself.
The PR uses the best practices of .NET, see: Jeff Richter book "CLR Via C#" chapter on locks. Or e.g. https://stackoverflow.com/questions/1873201/why-are-locks-performed-on-separate-objects