LightReadersWriterLock (struct)

Simple readers writer lock. Readers cannot “upgrade to write” (would cause a deadlock). To have the “upgrade to write” functionality, use FastReadersWriterLock

LightReadersWriterLock LightReadersWriterLock LightReadersWriterLock

Members

UInt32 lockVariable  
UInt32 writerThreadIndex  
UInt32 writerBracketCount  

Methods in detail

LightReadersWriterLock ( in LightReadersWriterLock other )

copy constructor


LightReadersWriterLock ()


LightReadersWriterLock.acquireRead! ()


LightReadersWriterLock.acquireWrite! ()


LightReadersWriterLock LightReadersWriterLock.clone? ()

clone method


Boolean LightReadersWriterLock.readLocked? ()


LightReadersWriterLock.releaseRead! ()


LightReadersWriterLock.releaseWrite! ()


Boolean LightReadersWriterLock.writeLocked? ()


Boolean LightReadersWriterLock.writeLockedByCurrentThread! ()