save
[cdsspec-compiler.git] / benchmark / mcs-lock / mcs-lock.h
index 27ce1807f2c3b25fb266e170139fd009d221b169..e08a0e73c1a844736daa0196e94a3dea4c3f182e 100644 (file)
@@ -8,6 +8,7 @@
 #include <cdsannotate.h>
 #include <specannotation.h>
 #include <model_memory.h>
+#include "common.h" 
 
 struct mcs_node {
        std::atomic<mcs_node *> next;
@@ -34,7 +35,7 @@ public:
                m_tail.store( NULL );
        }
        ~mcs_mutex() {
-               ASSERT( m_tail.load() == NULL );
+               //ASSERT( m_tail.load() == NULL );
        }
 
        // Each thread will have their own guard.