Thread.bitUnlock

Clears the indicated @lock_bit in @address. If another thread is currently blocked in g_bit_lock() 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.

class Thread
static
void
bitUnlock
(
int* address
,)

Parameters

address int*

a pointer to an integer

lockBit int

a bit value between 0 and 31

Meta

Since

2.24