Paul Hollinsky
|
80362e7f81
|
Event Manager: Refactor
|
2022-02-24 15:49:21 -05:00 |
Paul Hollinsky
|
3f8ed840ba
|
Start callback IDs at 1 so 0 is reserved
|
2020-09-08 17:38:38 -04:00 |
Kyle Schwarz
|
b6692d3762
|
Add missing C++ guards
|
2020-08-18 16:01:51 -04:00 |
Kyle Schwarz
|
afda617894
|
Remove trailing white-space
|
2020-08-11 13:42:13 -04:00 |
Paul Hollinsky
|
2f9844df92
|
Begin work on FlexRay support
|
2019-10-16 16:43:31 -04:00 |
EricLiu2000
|
ef16e60025
|
Added more mutexes in eventmanager, fixed exiting destruction bug
|
2019-08-07 13:12:16 -04:00 |
EricLiu2000
|
9629864f1b
|
Fixed wait check in device online/offline
|
2019-08-07 10:06:33 -04:00 |
EricLiu2000
|
3358241abe
|
Reordered error downgrading, order of going offline, and renamed locks
|
2019-08-06 10:32:19 -04:00 |
EricLiu2000
|
9b3d36c8c1
|
Moved calling of event callbacks to after the event is added. Now using unique_locks on the list of events to allow event callbacks to safely modify the list of events
|
2019-08-05 11:40:17 -04:00 |
EricLiu2000
|
4f735a651c
|
Added event callback functionality. EventManager now uses multiple mutexes to lock events, errors, callbacks, and downgradedThreads separately. Wrote single-threaded test for event callbacks.
|
2019-08-02 15:00:31 -04:00 |
EricLiu2000
|
54b98ec9b4
|
Error downgrading now uses a map<threadid, bool>, and error downgrading is canceled during message callbacks
|
2019-07-29 15:16:35 -04:00 |
EricLiu2000
|
b75536c4a2
|
Updated some documentation in eventmanager to reflect chronological pruning of events
|
2019-07-26 13:34:03 -04:00 |
EricLiu2000
|
6f8d307850
|
Implemented thread specific error-downgrading to events and wrote corresponding unit test
|
2019-07-24 12:52:15 -04:00 |
EricLiu2000
|
e3517767cb
|
Events are now removed purely in chronological order if overflowing
|
2019-06-27 18:04:59 -04:00 |
EricLiu2000
|
baa9404432
|
Went back to normal mutex because I forgot I reverted those
|
2019-06-27 16:02:31 -04:00 |
EricLiu2000
|
1d3b3359ca
|
Wrote more tests, fixed bug with eventmanager::get(size), optimized eventmanager adding and shrinking, prevented trying to add TooManyEvents
|
2019-06-27 15:50:22 -04:00 |
EricLiu2000
|
d0c6aba0fc
|
Revert "Changed list of events to vector, switched back to using lock_guard instead of shared/unique_locks"
This reverts commit 2dac03b3e5.
|
2019-06-27 14:16:36 -04:00 |
EricLiu2000
|
2dac03b3e5
|
Changed list of events to vector, switched back to using lock_guard instead of shared/unique_locks
|
2019-06-27 13:42:02 -04:00 |
EricLiu2000
|
a9a2a978b8
|
Fixed multithreading issue with eventmanager
|
2019-06-27 13:20:13 -04:00 |
EricLiu2000
|
ec95f0f7c3
|
Wrote more tests and fixed locking bug in eventmanager
|
2019-06-26 15:08:41 -04:00 |
EricLiu2000
|
4923218d35
|
Separated tests into different files, added ResetInstance() method to EventManager
|
2019-06-26 11:30:24 -04:00 |
EricLiu2000
|
f45bd6772f
|
Builds and runs on both windows and ubuntu
|
2019-06-25 13:20:49 -04:00 |
EricLiu2000
|
50dba62a89
|
Event refactor builds on Windows
|
2019-06-24 17:59:45 -04:00 |