/* initializes the event processor 
Initializes the event processor queue and processing thread. Called from ixEthDBInit() DB-subcomponent master init function. */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBEventProcessorInit(void)
/* initializes the event processor 
Initializes the event processor queue and processing thread. Called from ixEthDBInit() DB-subcomponent master init function. */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBEventProcessorInit(void)
{
    if (ixOsalMutexInit(&portUpdateLock) != IX_SUCCESS)
    {
        return IX_ETH_DB_FAIL;
    }
    if (ixOsalMutexInit(&eventQueueLock) != IX_SUCCESS)
    {
        return IX_ETH_DB_FAIL;
    }
    if (IX_FEATURE_CTRL_SWCONFIG_ENABLED ==
        ixFeatureCtrlSwConfigurationCheck (IX_FEATURECTRL_ETH_LEARNING))
    {
        if (ixEthDBStartLearningFunction() != IX_ETH_DB_SUCCESS)
        {
            return IX_ETH_DB_FAIL;
        }
    }
    return IX_ETH_DB_SUCCESS;
}