LightReentrantLock (struct)¶
Simple, reentrant spin lock, which can be bracketed with a LightLockBracket
Methods¶
LightReentrantLock ( in LightReentrantLock other ) | |
LightReentrantLock () | |
acquire ! () | |
LightReentrantLock | clone ? () |
Boolean | locked ? () |
Boolean | locked_fetch ! () |
release ! () | |
Boolean | tryAcquire ! () |
Methods in detail¶
LightReentrantLock ( in LightReentrantLock other )
copy constructor
LightReentrantLock.acquire! ()
LightReentrantLock LightReentrantLock.clone? ()
clone method
Boolean LightReentrantLock.locked? ()
Boolean LightReentrantLock.locked_fetch! ()
Check if write locked, but forces a memory fetch for more accuracy
LightReentrantLock.release! ()
Boolean LightReentrantLock.tryAcquire! ()