bitUnlock
fn
void bitUnlock(ref int address, int lockBit)Clears the indicated lock_bit in address. If another thread is currently blocked in [glib.global.bitLock] on this same bit then it will be woken up.
This function accesses address atomically. All other accesses to address must be atomic in order for this function to work reliably. While address has a volatile qualifier, this is a historical artifact and the argument passed to it should not be volatile.
Parameters
address | a pointer to an integer |
lockBit | a bit value between 0 and 31 |