add notes to mcs-lock
[cdsspec-compiler.git] / benchmark / mcs-lock / mcs-lock.h
index d9165d124a5a517ce3d38570d7c3bac387e65df8..46c65305bd7ea98038dee2460a137012322728b6 100644 (file)
@@ -81,6 +81,7 @@ public:
                me->next.store(NULL, std::mo_relaxed );
                me->gate.store(1, std::mo_relaxed );
 
+               /** Run this in the -Y mode to expose the HB bug */
                // publish my node as the new tail :
                mcs_node * pred = m_tail.exchange(me, std::mo_acq_rel);
                /**