diff --git a/src/btop_tools.hpp b/src/btop_tools.hpp index f22de84..705180c 100644 --- a/src/btop_tools.hpp +++ b/src/btop_tools.hpp @@ -286,7 +286,7 @@ namespace Tools { void atomic_wait_for(const atomic& atom, const bool old=true, const uint64_t wait_ms=0) noexcept; - //* Waits for atomic to be false and sets it to true on construct, sets to false on destruct + //* Sets atomic to true on construct, sets to false on destruct class atomic_lock { atomic& atom; bool not_true = false;