- testing for current threading structures

This commit is contained in:
2025-12-20 17:35:54 -05:00
parent 9f499c933d
commit 1f6637408d
14 changed files with 360 additions and 44 deletions

View File

@@ -19,6 +19,7 @@
#include <fennec/containers/dynarray.h>
#include <fennec/containers/set.h>
#include <fennec/core/event.h>
#include <fennec/threading/mpscq.h>
namespace fennec
{
@@ -38,10 +39,4 @@ void event::remove_listener(event_listener* listener) {
}
}
void event::dispatch(event* event) {
for (auto& it : listeners[event->get_type().id()]) {
it->handle_event(event);
}
}
}