Updated documentation, added multithreaded test with both events and errors for eventmanager

This commit is contained in:
EricLiu2000
2019-06-28 11:11:58 -04:00
parent e3517767cb
commit 42690d1f9a
3 changed files with 204 additions and 50 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ void EventManager::ResetInstance() {
void EventManager::get(std::vector<APIEvent>& eventOutput, size_t max, EventFilter filter) {
std::lock_guard<std::mutex> lk(mutex);
if(max == 0) // A limit of 0 indicates no limit
max = (size_t)-1;