mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-08-30 12:15:12 +00:00
connection between 2 systems and bug fixes (#14)
This commit is contained in:
@@ -61,6 +61,8 @@ inline bool RequestShutdown(uint32_t uiInstanceID = 1000u)
|
||||
CloseHandle(hEvent);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
std::cerr << "ERROR: Shutdown event handle is not available: " << m_ssSignalName << std::endl;
|
||||
#elif defined __unix__
|
||||
sem_t* pSemaphore = sem_open(m_ssSignalName.c_str(), 0);
|
||||
if (pSemaphore && pSemaphore != SEM_FAILED)
|
||||
|
||||
Reference in New Issue
Block a user