diff options
Diffstat (limited to 'src/common/thread_worker.h')
-rw-r--r-- | src/common/thread_worker.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/thread_worker.h b/src/common/thread_worker.h index 7e2b04a07..12bbf5fef 100644 --- a/src/common/thread_worker.h +++ b/src/common/thread_worker.h @@ -11,6 +11,7 @@ #include <vector> #include <queue> +#include "common/common_types.h" #include "common/unique_function.h" namespace Common { @@ -29,6 +30,10 @@ private: std::condition_variable condition; std::condition_variable wait_condition; std::atomic_bool stop{}; + std::atomic<u64> work_scheduled{}; + std::atomic<u64> work_done{}; + std::atomic<u64> workers_stopped{}; + std::atomic<u64> workers_queued{}; }; } // namespace Common |