https://learn.microsoft.com/en-us/dotnet/api/system.threading.readerwriterlock.releaselock?view=netframework-4.8.1&viewFallbackFrom=net-10.0
ReaderWriterLock.ReleaseLock Method (System.Threading) | Microsoft Learn
Releases the lock, regardless of the number of times the thread acquired the lock.
methodsystemthreadingmicrosoftlearn