diff --git a/src/state.hpp b/src/state.hpp index 7850659..00aba81 100644 --- a/src/state.hpp +++ b/src/state.hpp @@ -8,6 +8,7 @@ #ifndef STATE_HPP #define STATE_HPP +#include #include #include "base.hpp" @@ -20,6 +21,9 @@ namespace cw::state cw::node::NodeAllocator allocator; std::queue queue; + std::mutex mutex_queue; + std::mutex mutex_allocator; + State(void); };