this is horrible

This commit is contained in:
tildearrow 2023-09-06 06:22:03 -05:00
parent e1cd05e8e9
commit e8dbacf6e0
2 changed files with 30 additions and 11 deletions

View file

@ -25,6 +25,7 @@
#include <atomic>
#include <functional>
#include <condition_variable>
#include <future>
#include "fixedQueue.h"
@ -75,7 +76,7 @@ class DivWorkPool {
unsigned int pos;
DivWorkThread* workThreads;
public:
std::condition_variable notify;
std::promise<void> notify;
std::atomic<int> busyCount;
/**
@ -98,4 +99,4 @@ class DivWorkPool {
~DivWorkPool();
};
#endif
#endif