4 writes to owners
mscorlib (4)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (4)
872
owners
++; // Indicate we have another reader
896
owners
= -1; // indicate we have a writer.
916
--
owners
;
924
owners
++;
6 references to owners
mscorlib (6)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (6)
869
if (
owners
>= 0 && numWriteWaiters == 0)
893
if (
owners
== 0)
915
Contract.Assert(
owners
> 0, "ReleasingReaderLock: releasing lock and no read lock taken");
923
Contract.Assert(
owners
== -1, "Calling ReleaseWriterLock when no write lock is held");
985
if (
owners
== 0 && numWriteWaiters > 0)
990
else if (
owners
>= 0 && numReadWaiters != 0)