projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SkipList: added a statistical measure
[libcds.git]
/
cds
/
intrusive
/
impl
/
skip_list.h
diff --git
a/cds/intrusive/impl/skip_list.h
b/cds/intrusive/impl/skip_list.h
index db291380ded5bc49bb888aba59dd936aeb590e3d..c3b38f0e47682eba17dc1825f27784d0dbb925c4 100644
(file)
--- a/
cds/intrusive/impl/skip_list.h
+++ b/
cds/intrusive/impl/skip_list.h
@@
-1453,8
+1453,9
@@
namespace cds { namespace intrusive {
m_Stat.onFastErase();
return true;
}
- else if ( p.bits()
) {
+ else if ( p.bits()) {
// Another thread is deleting pDel right now
+ m_Stat.onEraseContention();
return false;
}
m_Stat.onEraseRetry();