forked from Dynamitos/Seele
Implement quick shader switch hotkeys
This commit is contained in:
1 parent
8399b176bb
commit
e0961bce24
20 files changed
+160
-110
No files matched your search
@@ -9,9 +9,9 @@ namespace Seele
|
||||
class ThreadPool
|
||||
{
|
||||
public:
|
||||
ThreadPool(uint32 numWorkers = std::thread::hardware_concurrency());
|
||||
ThreadPool(uint32 numWorkers = std::thread::hardware_concurrency() - 2);
|
||||
~ThreadPool();
|
||||
//void runAndWait(List<std::function<void()>> functions);
|
||||
void runAndWait(List<std::function<void()>> functions);
|
||||
private:
|
||||
struct Task
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user