bitlock: mark g_futex_int_address() as G_ALWAYS_INLINE

It probably would get inlined anyway(?). But add G_ALWAYS_INLINE
to be more sure about this. We don't want this mostly trivial
function to be a separate call.
This commit is contained in:
Thomas Haller
2025-04-07 17:05:02 +02:00
parent 893e89d116
commit 493b9c49af

View File

@@ -469,7 +469,7 @@ g_bit_unlock_and_set (gint *address,
*
* g_futex_wake (g_futex_int_address (int_address));
*/
static const gint *
G_ALWAYS_INLINE static inline const gint *
g_futex_int_address (const void *address)
{
const gint *int_address = address;