TestEventNotifier is working now
This commit is contained in:
@@ -14,13 +14,12 @@
|
||||
namespace Input
|
||||
{
|
||||
|
||||
EventNotifier::EventNotifier() :
|
||||
is_running(true)
|
||||
EventNotifier::EventNotifier(IBlockingQueue<Event>* queue) :
|
||||
is_running(true),
|
||||
event_queue(queue)
|
||||
{
|
||||
this->notify_thread = std::thread(&EventNotifier::notify, this);
|
||||
|
||||
this->event_queue = new BlockingQueue<Event>();
|
||||
|
||||
CLOG(INFO, INPUT_LOGGER) << "Created EventNotifier and started thread";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user