LightLock (struct)

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

LightLock LightLock LightLock

Members

UInt32 lockVariable  

Methods

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

Methods in detail

LightLock ( in LightLock other )

copy constructor


LightLock ()

default constructor


LightLock.acquire! ()


LightLock LightLock.clone? ()

clone method


Boolean LightLock.locked? ()


Boolean LightLock.locked_fetch! ()

Check if write locked, but forces a memory fetch for more accuracy


LightLock.release! ()


Boolean LightLock.tryAcquire! ()