LightReentrantLock.kl

Types

LightReentrantLock (struct)

Simple, reentrant spin lock, which can be bracketed with a LightLockBracket

Members

UInt32 lockVariable  
UInt32 lockingThreadIndex  
UInt32 bracketCount  

Methods

  LightReentrantLock ( in LightReentrantLock other )
  LightReentrantLock ()
  acquire ! ()
LightReentrantLock clone ? ()
Boolean locked ? ()
Boolean locked_fetch ! ()
  release ! ()
Boolean tryAcquire ! ()

MTLightReentrantLockBracket (struct)

Bracket for a LightReentrantLock which is only enabled if IsMultithreading() is true

Members

Data data  
Boolean enabled  

LightReentrantLockBracket (struct)

Bracket for a LightReentrantLock

Members

Data data