LightReadersWriterLock.kl¶
Types¶
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 ! () |
LightReadBracket (struct)¶
Bracket for a LightReadersWriterLock
Methods¶
LightReadBracket ( in LightReadBracket other ) | |
LightReadBracket ( io LightReadersWriterLock rwLock ) | |
LightReadBracket () | |
LightReadBracket | clone ? () |
~LightReadBracket () |
LightWriteBracket (struct)¶
Bracket for a LightReadersWriterLock
Methods¶
LightWriteBracket ( in LightWriteBracket other ) | |
LightWriteBracket ( io LightReadersWriterLock rwLock ) | |
LightWriteBracket () | |
LightWriteBracket | clone ? () |
~LightWriteBracket () |