Takes out backoff in misc data structures
[libcds.git] / cds / misc / mcs-lock.h
index a6eb04e63556a99189d112c690ef94f843785a3c..77068f2adbeb6467176c8ab4d44fddeb3afb7968 100644 (file)
@@ -63,9 +63,9 @@ public:
 
       // now this is the spin -
       // wait on predecessor setting my flag -
-      ExpBackoff backoff;
+//      ExpBackoff backoff;
       while (me->gate.load(std::memory_order_acquire)) {
-        backoff();
+//        backoff();
       }
     }
   }
@@ -84,12 +84,12 @@ public:
       }
 
       // (*1) catch the race :
-      ExpBackoff backoff;
+//      ExpBackoff backoff;
       for (;;) {
         next = me->next.load(std::memory_order_acquire);
         if (next != nullptr)
           break;
-        backoff();
+//        backoff();
       }
     }