Dawid Drozd
b4bceafb40
Fix data race
...
Bad usage of condition variable
2020-03-13 09:59:50 +01:00
Dawid Drozd
35efe42884
Fix WaitPerk for dummy waiting case
...
It could happen that we had some events in queue but we still would wait for new events.
2020-03-12 13:59:40 +01:00
Dawid Drozd
871db45754
Add extra assert
...
fail ASAP during debug
2020-01-18 13:22:46 +01:00
Dawid Drozd
59683ebd08
Add tsan asan lsan msan ubsan build types
...
For testing and development
2019-12-29 15:02:03 +01:00
Dawid Drozd
2bc2858a8a
New EventBus 3.0
2019-12-27 11:24:34 +01:00
Dawid Drozd
f986c6c675
Fix TagEventBus::get()
...
In some cases we could move our shared_ptr by mistake
2019-11-13 19:43:32 +01:00
Dawid Drozd
2bb9c3e679
Add TagEventBus
2019-10-30 17:44:52 +01:00
Dawid Drozd
890eaff178
Update encapsulation for accessing private stuff from EventBus
2019-10-30 17:28:59 +01:00
Dawid Drozd
1adbc61a03
Add extra check for waiting events
...
We don't want to wait for events if we already have some.
2019-10-22 22:50:36 +02:00
Dawid Drozd
55dd3937fa
Fix api readability
2019-09-15 02:45:13 +02:00
Dawid Drozd
54b3fae30a
Remove old EventBus 2.X and make room for 3.X
2019-09-14 23:46:12 +02:00
Dawid Drozd
018a536147
Move code from include/ to src/
...
I don't like to keep separate folders for public & private stuff. In my opinion this is "old"
approach. I like when header and module file are next to each other.
My choice. Installation will handle splitting public & private headers.
2019-09-14 16:05:21 +02:00
Dawid Drozd
8f6eb24549
Remove Subscriber and make Listener more safe
...
There could be not nice situation when bus dies and Listener wants to unlisten. That was easy to
achieve e.g. bad order in class fields. (Order of destruction matters)
2019-09-14 15:56:09 +02:00
Dawid Drozd
be33318242
Code format
2019-09-14 15:01:06 +02:00
Dawid Drozd
2d2733afde
Add preview of EventBus 3.0
2019-06-30 20:12:50 +02:00