TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.30
This is equivalent to g_bit_lock, but working on pointers (or other pointer-sized values).
For portability reasons, you may only lock on the bottom 32 bits of the pointer.
While address has a volatile qualifier, this is a historical artifact and the argument passed to it should not be volatile.
address
volatile
a pointer to a gpointer-sized value
gpointer
a bit value between 0 and 31
2.30
This is equivalent to g_bit_lock, but working on pointers (or other pointer-sized values).
For portability reasons, you may only lock on the bottom 32 bits of the pointer.
While
addresshas avolatilequalifier, this is a historical artifact and the argument passed to it should not bevolatile.