*-----------------------------------------------------------------------------
*/
+#ifdef VMX86_DEBUG
static INLINE Bool
StrUtil_IsEmpty(const char *str) // IN:
{
ASSERT(str != NULL);
return str[0] == '\0';
}
-
+#endif
/*
*-----------------------------------------------------------------------------
VThreadBaseInitKeyWork(&vthreadBaseGlobals.threadIDKey, NULL);
}
-
+#ifdef VMX86_DEBUG
static INLINE Bool
VThreadBaseAreKeysInited(void)
{
return Atomic_Read(&vthreadBaseGlobals.baseKey) != VTHREADBASE_INVALID_KEY &&
Atomic_Read(&vthreadBaseGlobals.threadIDKey) != VTHREADBASE_INVALID_KEY;
}
-
+#endif
/*
*-----------------------------------------------------------------------------
******************************************************************************
*/
+#ifdef VMX86_DEBUG
static INLINE gboolean
MsgHasMsgID(const gchar *s)
{
*(s += MSG_MAGIC_LEN) == '(' &&
strchr(s + 1, ')') != NULL;
}
-
+#endif
/*
******************************************************************************