mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Since: markers for g_bit_*lock()
This commit is contained in:
parent
40eae351b1
commit
fe89b2ea29
@ -202,6 +202,8 @@ static volatile gint g_bit_lock_contended[CONTENTION_CLASSES];
|
||||
* This function accesses @address atomically. All other accesses to
|
||||
* @address must be atomic in order for this function to work
|
||||
* reliably.
|
||||
*
|
||||
* Since: 2.24
|
||||
**/
|
||||
void
|
||||
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
|
||||
* @address must be atomic in order for this function to work
|
||||
* reliably.
|
||||
*
|
||||
* Since: 2.24
|
||||
**/
|
||||
gboolean
|
||||
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
|
||||
* @address must be atomic in order for this function to work
|
||||
* reliably.
|
||||
*
|
||||
* Since: 2.24
|
||||
**/
|
||||
void
|
||||
g_bit_unlock (volatile gint *address,
|
||||
|
Loading…
Reference in New Issue
Block a user