SkipList: added a statistical measure
[libcds.git] / cds / intrusive / skip_list_rcu.h
index 52dccdd76b6a95adbdf667020090d26750845e3e..24a12ceeff5171108a7489eeab1695ba23618b3a 100644 (file)
@@ -1720,6 +1720,7 @@ namespace cds { namespace intrusive {
                 }
                 else if ( p.bits() ) {
                     // Another thread is deleting pDel right now
+                    m_Stat.onEraseContention();
                     return false;
                 }