Skip to content

Commit

Permalink
Cleaning up namning
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed Jan 13, 2025
1 parent 83efefc commit c8be65b
Show file tree
Hide file tree
Showing 8 changed files with 430 additions and 373 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
else()
SET(GCC_VSCP_COMPILE_FLAGS "-Wno-psabi -D WITH_SYSTEMD")
endif()

# Profiling
#SET(GCC_VSCP_LINK_FLAGS "-lgcov")

Expand Down
4 changes: 4 additions & 0 deletions src/vscp/common/vscp-client-canal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,11 @@ workerThread(void *pObj)
if (vscp_doLevel2Filter(pev, &pClient->m_filterIn)) {
pthread_mutex_lock(&pClient->m_mutexReceiveQueue);
pClient->m_receiveQueue.push_back(pev);
#ifdef WIN32
ReleaseSemaphore(pClient->m_semReceiveQueue, 1, NULL);
#else
sem_post(&pClient->m_semReceiveQueue);
#endif
pthread_mutex_unlock(&pClient->m_mutexReceiveQueue);
}
}
Expand Down
Loading

0 comments on commit c8be65b

Please sign in to comment.