Begin work on FlexRay support

This commit is contained in:
Paul Hollinsky
2019-10-16 16:43:31 -04:00
parent 0607986114
commit 2f9844df92
65 changed files with 1137 additions and 120 deletions
+8
View File
@@ -45,6 +45,14 @@ bool EventManager::removeEventCallback(int id) {
return false;
}
bool EventManager::isDowngradingErrorsOnCurrentThread() const {
auto i = downgradedThreads.find(std::this_thread::get_id());
if(i != downgradedThreads.end()) {
return i->second;
}
return false;
}
void EventManager::get(std::vector<APIEvent>& eventOutput, size_t max, EventFilter filter) {
std::lock_guard<std::mutex> lk(eventsMutex);