if (!list_add_item(g_pre_session_list, (tintptr)result))
{
g_free(result);
result = NULL;
}
}
return result;
}
/*****************************************************************************/ int
pre_session_list_set_peername(struct pre_session_item *psi, constchar *name)
{ int rv = 1;
if (psi != NULL && name != NULL)
{
g_snprintf(psi->peername, sizeof(psi->peername), "%s", name);
rv = 0;
}
return rv;
}
/******************************************************************************/ int
pre_session_list_get_wait_objs(tbus robjs[], int *robjs_count)
{ int i = 0;
while (i < g_pre_session_list->count)
{ struct pre_session_item *psi;
psi = (struct pre_session_item *)list_get_item(g_pre_session_list, i); int psi_in_use = 0;
/* Get any action, and reset the requested one */
action = psi->dispatcher_action;
psi->dispatcher_action = E_PSD_NONE;
}
switch (action)
{ case E_PSD_NONE: /* On to the next item on the list */
++i; break;
case E_PSD_REMOVE_CLIENT_TRANS:
trans_delete(psi->client_trans);
psi->client_trans = NULL; /* On to the next item on the list */
++i; break; case E_PSD_TERMINATE_PRE_SESSION:
free_pre_session_item(psi);
list_remove_item(g_pre_session_list, i); break;
}
}
return0;
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-07-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.