Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gbitlock.h File Reference
#include <glib/gtypes.h>

Go to the source code of this file.

Functions

G_BEGIN_DECLS GLIB_AVAILABLE_IN_ALL void g_bit_lock (volatile gint *address, gint lock_bit)
 
GLIB_AVAILABLE_IN_ALL gboolean g_bit_trylock (volatile gint *address, gint lock_bit)
 
GLIB_AVAILABLE_IN_ALL void g_bit_unlock (volatile gint *address, gint lock_bit)
 
GLIB_AVAILABLE_IN_ALL void g_pointer_bit_lock (volatile void *address, gint lock_bit)
 
GLIB_AVAILABLE_IN_2_80 void g_pointer_bit_lock_and_get (gpointer address, guint lock_bit, guintptr *out_ptr)
 
GLIB_AVAILABLE_IN_ALL gboolean g_pointer_bit_trylock (volatile void *address, gint lock_bit)
 
GLIB_AVAILABLE_IN_ALL void g_pointer_bit_unlock (volatile void *address, gint lock_bit)
 
GLIB_AVAILABLE_IN_2_80 gpointer g_pointer_bit_lock_mask_ptr (gpointer ptr, guint lock_bit, gboolean set, guintptr preserve_mask, gpointer preserve_ptr)
 
GLIB_AVAILABLE_IN_2_80 void g_pointer_bit_unlock_and_set (void *address, guint lock_bit, gpointer ptr, guintptr preserve_mask)
 

Function Documentation

◆ g_bit_lock()

G_BEGIN_DECLS GLIB_AVAILABLE_IN_ALL void g_bit_lock ( volatile gint * address,
gint lock_bit )

◆ g_bit_trylock()

GLIB_AVAILABLE_IN_ALL gboolean g_bit_trylock ( volatile gint * address,
gint lock_bit )

◆ g_bit_unlock()

GLIB_AVAILABLE_IN_ALL void g_bit_unlock ( volatile gint * address,
gint lock_bit )

◆ g_pointer_bit_lock()

GLIB_AVAILABLE_IN_ALL void g_pointer_bit_lock ( volatile void * address,
gint lock_bit )

◆ g_pointer_bit_lock_and_get()

GLIB_AVAILABLE_IN_2_80 void g_pointer_bit_lock_and_get ( gpointer address,
guint lock_bit,
guintptr * out_ptr )

◆ g_pointer_bit_lock_mask_ptr()

GLIB_AVAILABLE_IN_2_80 gpointer g_pointer_bit_lock_mask_ptr ( gpointer ptr,
guint lock_bit,
gboolean set,
guintptr preserve_mask,
gpointer preserve_ptr )

◆ g_pointer_bit_trylock()

GLIB_AVAILABLE_IN_ALL gboolean g_pointer_bit_trylock ( volatile void * address,
gint lock_bit )

◆ g_pointer_bit_unlock()

GLIB_AVAILABLE_IN_ALL void g_pointer_bit_unlock ( volatile void * address,
gint lock_bit )

◆ g_pointer_bit_unlock_and_set()

GLIB_AVAILABLE_IN_2_80 void g_pointer_bit_unlock_and_set ( void * address,
guint lock_bit,
gpointer ptr,
guintptr preserve_mask )