diff options
Diffstat (limited to 'src/Compute/Queue.hpp')
| -rw-r--r-- | src/Compute/Queue.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Compute/Queue.hpp b/src/Compute/Queue.hpp index 799df73..3c4ec08 100644 --- a/src/Compute/Queue.hpp +++ b/src/Compute/Queue.hpp @@ -1,6 +1,7 @@ #pragma once #include "../Common/Sizes.hpp" +#include "../ThreadRole.hpp" #include <functional> #include <mutex> #include <vector> @@ -107,6 +108,8 @@ private: [[noreturn]] static void run_thread(std::shared_ptr<Control> control) { using namespace std::chrono_literals; + HELLO_I_AM(ThreadRole::Worker); + while (true) { Bool nothing_to_do = true; Job job; |
