David Blume's GitList
Repositories
testcode.git
Code
Commits
Branches
Tags
Search
Tree:
56e9725
Branches
Tags
c++11
main
start
testcode.git
product
thread_manager.hpp
Add .clang-format
dblume
commited
56e9725
at 2023-08-12 23:24:26
thread_manager.hpp
Blame
History
Raw
#pragma once #include <mutex> #include <condition_variable> #include <thread> struct Manager { Manager(); ~Manager(); void WriteReport(); void DeployWorker(); // void work(std::unique_lock<x>); bool abort_reporting_; std::mutex report_lock_; std::condition_variable report_condition_; std::thread report_thread_; int data_to_protect_; };