projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes RigtorpMPMC test case
[libcds.git]
/
test
/
stress
/
queue
/
spsc_buffer.cpp
diff --git
a/test/stress/queue/spsc_buffer.cpp
b/test/stress/queue/spsc_buffer.cpp
index 32ca2d5580d086e5cec58eefa6fcefcd1d1491d1..55b9e71c5a36c55bcb096873e26e1c9eb8e3a74b 100644
(file)
--- a/
test/stress/queue/spsc_buffer.cpp
+++ b/
test/stress/queue/spsc_buffer.cpp
@@
-141,13
+141,13
@@
namespace {
}
}
}
}
- if ( !m_Queue.pop_front()
)
+ if ( !m_Queue.pop_front())
++m_nPopFrontFailed;
}
else {
++m_nPopEmpty;
if ( s_nProducerDone.load() != 0 ) {
++m_nPopFrontFailed;
}
else {
++m_nPopEmpty;
if ( s_nProducerDone.load() != 0 ) {
- if ( m_Queue.empty()
)
+ if ( m_Queue.empty())
break;
}
}
break;
}
}