cleanup of commented out code

This commit is contained in:
eelke 2017-12-26 07:28:18 +01:00
parent 83332842fc
commit 81c4449d31
2 changed files with 0 additions and 9 deletions

View file

@ -1,14 +1,12 @@
#include "tsqueue.h"
TSQueue::TSQueue()
// : newData(Win32Event::Reset::Manual, Win32Event::Initial::Clear)
{}
void TSQueue::add(t_Callable callable)
{
std::lock_guard<std::mutex> g(m);
futureQueue.push_back(std::move(callable));
// newData.set();
}
bool TSQueue::empty()
@ -23,12 +21,7 @@ TSQueue::t_Callable TSQueue::pop()
auto f = std::move(futureQueue.front());
futureQueue.pop_front();
if (futureQueue.empty()) {
// newData.reset();
}
return f;
}
// HANDLE TSQueue::getNewDataEventHandle()
// {
// return newData.handle();
// }