LightReadersWriterLock (struct)¶
Simple readers writer lock. Readers cannot “upgrade to write” (would cause a deadlock). To have the “upgrade to write” functionality, use FastReadersWriterLock
Methods¶
LightReadersWriterLock ( in LightReadersWriterLock other ) | |
LightReadersWriterLock () | |
acquireRead ! () | |
acquireWrite ! () | |
LightReadersWriterLock | clone ? () |
Boolean | readLocked ? () |
releaseRead ! () | |
releaseWrite ! () | |
Boolean | writeLocked ? () |
Boolean | writeLockedByCurrentThread ! () |
Methods in detail¶
LightReadersWriterLock ( in LightReadersWriterLock other )
copy constructor
LightReadersWriterLock.acquireRead! ()
LightReadersWriterLock.acquireWrite! ()
LightReadersWriterLock LightReadersWriterLock.clone? ()
clone method
Boolean LightReadersWriterLock.readLocked? ()
LightReadersWriterLock.releaseRead! ()
LightReadersWriterLock.releaseWrite! ()
Boolean LightReadersWriterLock.writeLocked? ()
Boolean LightReadersWriterLock.writeLockedByCurrentThread! ()