Compiles, links and runs (functionality not tested)

This commit is contained in:
Eelke Klein 2017-08-23 13:27:23 +02:00
parent 04723a289b
commit 6a97c0447a
48 changed files with 224 additions and 149 deletions

View file

@ -1,7 +1,7 @@
#ifndef TSQUEUE_H
#define TSQUEUE_H
#include "Win32Event.h"
//#include "Win32Event.h"
#include <deque>
#include <functional>
#include <mutex>
@ -15,11 +15,11 @@ public:
bool empty();
t_Callable pop();
HANDLE getNewDataEventHandle();
//HANDLE getNewDataEventHandle();
private:
using t_CallableQueue = std::deque<t_Callable>;
Win32Event newData;
//Win32Event newData;
std::mutex m;
t_CallableQueue futureQueue;
};