Description correction

This commit is contained in:
aristocratos 2022-02-09 15:39:50 +01:00
parent 1f4b724d60
commit ec4bc6823f
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ namespace Tools {
void atomic_wait_for(const atomic<bool>& atom, const bool old=true, const uint64_t wait_ms=0) noexcept;
//* Waits for atomic<bool> to be false and sets it to true on construct, sets to false on destruct
//* Sets atomic<bool> to true on construct, sets to false on destruct
class atomic_lock {
atomic<bool>& atom;
bool not_true = false;