mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-06 00:24:50 +01:00
Since: markers for g_bit_*lock()
This commit is contained in:
@@ -202,6 +202,8 @@ static volatile gint g_bit_lock_contended[CONTENTION_CLASSES];
|
|||||||
* This function accesses @address atomically. All other accesses to
|
* This function accesses @address atomically. All other accesses to
|
||||||
* @address must be atomic in order for this function to work
|
* @address must be atomic in order for this function to work
|
||||||
* reliably.
|
* reliably.
|
||||||
|
*
|
||||||
|
* Since: 2.24
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
g_bit_lock (volatile gint *address,
|
g_bit_lock (volatile gint *address,
|
||||||
@@ -244,6 +246,8 @@ g_bit_lock (volatile gint *address,
|
|||||||
* This function accesses @address atomically. All other accesses to
|
* This function accesses @address atomically. All other accesses to
|
||||||
* @address must be atomic in order for this function to work
|
* @address must be atomic in order for this function to work
|
||||||
* reliably.
|
* reliably.
|
||||||
|
*
|
||||||
|
* Since: 2.24
|
||||||
**/
|
**/
|
||||||
gboolean
|
gboolean
|
||||||
g_bit_trylock (volatile gint *address,
|
g_bit_trylock (volatile gint *address,
|
||||||
@@ -275,6 +279,8 @@ g_bit_trylock (volatile gint *address,
|
|||||||
* This function accesses @address atomically. All other accesses to
|
* This function accesses @address atomically. All other accesses to
|
||||||
* @address must be atomic in order for this function to work
|
* @address must be atomic in order for this function to work
|
||||||
* reliably.
|
* reliably.
|
||||||
|
*
|
||||||
|
* Since: 2.24
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
g_bit_unlock (volatile gint *address,
|
g_bit_unlock (volatile gint *address,
|
||||||
|
|||||||
Reference in New Issue
Block a user