From: khizmax Date: Mon, 28 Nov 2016 15:17:04 +0000 (+0300) Subject: Precising internal statistics X-Git-Tag: v2.2.0~41 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=307eac2cb015ac360b2d0adea1110f38cfc3f790;p=libcds.git Precising internal statistics --- diff --git a/cds/intrusive/impl/skip_list.h b/cds/intrusive/impl/skip_list.h index c72c5e80..112a203c 100644 --- a/cds/intrusive/impl/skip_list.h +++ b/cds/intrusive/impl/skip_list.h @@ -1170,7 +1170,7 @@ namespace cds { namespace intrusive { if ( succ.ptr() ) succ.ptr()->clear_state( memory_model::memory_order_release ); } - else + else if ( succ.ptr() != nullptr ) m_Stat.onNodeHandOffFailed(); }