Beispiel #1
0
xme_status_t
chromosomeGui_wp_marshaler_fini(void)
{
	XME_HAL_TABLE_FINI(configurationTable);

	return XME_STATUS_SUCCESS;
}
void
xme_core_directory_nodeRegistryController_fini(void)
{
    // Free all memory
    XME_HAL_TABLE_ITERATE_BEGIN
    (
        xme_core_directory_nodeRegistryController_nodeTable,
        xme_hal_table_rowHandle_t,
        handle,
        xme_core_node_nodeData_t,
        nodeItem
    );
    {
        XME_HAL_TABLE_FINI(nodeItem->interfaces);
    }
    XME_HAL_TABLE_ITERATE_END();

    XME_HAL_TABLE_FINI(xme_core_directory_nodeRegistryController_nodeTable);
}
/*--------------------------------------------------------------------------*/
xme_status_t
xme_core_exec_descriptorTable_fini( void )
{
    xme_hal_sync_enterCriticalSection(taskDescriptorsMutex);
    XME_HAL_TABLE_FINI(taskDescriptorsTable);
    xme_hal_sync_leaveCriticalSection(taskDescriptorsMutex);

    if(XME_STATUS_SUCCESS != xme_hal_sync_destroyCriticalSection(taskDescriptorsMutex))
        XME_LOG(XME_LOG_ERROR, MODULE_ACRONYM "could not destroy task descriptor table mutex!\n");
    return XME_STATUS_SUCCESS;

}