src/robust.h
@@ -19,6 +19,7 @@ #ifndef ROBUST_Q31RCWYU #define ROBUST_Q31RCWYU #include "log.h" #include <atomic> #include <chrono> #include <memory> @@ -171,7 +172,7 @@ } else if (!is_alive(Locker(old))) { r = static_cast<int>(MetaCas(old, Meta(1, this_locker()))) << 1; if (r) { printf("captured locker %ld -> %ld, locker = %d\n", int64_t(Locker(old)), int64_t(this_locker()), r); LOG_DEBUG() << "captured locker " << int64_t(Locker(old)) << " -> " << int64_t(this_locker()) << ", locker = " << r; } } return r;