LightLock (struct)¶
Simple, non-reentrant spin lock, which can be bracketed with a LightLockBracket
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! ()
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! ()