Searched refs:xShutdownSemaphore (Results 1 – 2 of 2) sorted by relevance
72 static SemaphoreHandle_t xShutdownSemaphore = NULL; variable467 if (xListenSock == -1 && xShutdownSemaphore) { in vMBTCPPortServerTask()468 xSemaphoreGive(xShutdownSemaphore); in vMBTCPPortServerTask()638 xShutdownSemaphore = xSemaphoreCreateBinary(); in vMBTCPPortClose()640 …if (xShutdownSemaphore == NULL || // if no semaphore (alloc issues) or couldn't acquire it, just d… in vMBTCPPortClose()641 …xSemaphoreTake(xShutdownSemaphore, 2*pdMS_TO_TICKS(CONFIG_FMB_MASTER_TIMEOUT_MS_RESPOND)) != pdTRU… in vMBTCPPortClose()645 if (xShutdownSemaphore) { in vMBTCPPortClose()646 vSemaphoreDelete(xShutdownSemaphore); in vMBTCPPortClose()647 xShutdownSemaphore = NULL; in vMBTCPPortClose()
82 static SemaphoreHandle_t xShutdownSemaphore = NULL; variable221 if (xShutdownSemaphore) { in xMBTCPPortMasterCheckShutdown()222 xSemaphoreGive(xShutdownSemaphore); in xMBTCPPortMasterCheckShutdown()898 xShutdownSemaphore = xSemaphoreCreateBinary(); in vMBMasterTCPPortDisable()900 …if (xShutdownSemaphore == NULL || xSemaphoreTake(xShutdownSemaphore, pdMS_TO_TICKS(MB_EVENT_WAIT_T… in vMBMasterTCPPortDisable()904 if (xShutdownSemaphore) { in vMBMasterTCPPortDisable()905 vSemaphoreDelete(xShutdownSemaphore); in vMBMasterTCPPortDisable()906 xShutdownSemaphore = NULL; in vMBMasterTCPPortDisable()