projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add `urcu_posix_assert()` as `assert()` replacement
[urcu.git]
/
tests
/
benchmark
/
test_urcu_wfs.c
diff --git
a/tests/benchmark/test_urcu_wfs.c
b/tests/benchmark/test_urcu_wfs.c
index 64731b3bb6d137dc3d6209a0675e5474fa71c410..c285feb30577a60cca79b8ed055fbb3fbc7fc1d3 100644
(file)
--- a/
tests/benchmark/test_urcu_wfs.c
+++ b/
tests/benchmark/test_urcu_wfs.c
@@
-31,10
+31,10
@@
#include <sys/wait.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/wait.h>
#include <unistd.h>
#include <stdio.h>
-#include <assert.h>
#include <errno.h>
#include <urcu/arch.h>
#include <errno.h>
#include <urcu/arch.h>
+#include <urcu/assert.h>
#include <urcu/tls-compat.h>
#include <urcu/uatomic.h>
#include "thread-id.h"
#include <urcu/tls-compat.h>
#include <urcu/uatomic.h>
#include "thread-id.h"
@@
-255,7
+255,7
@@
static void *thr_dequeuer(void *_count)
}
cmm_smp_mb();
}
cmm_smp_mb();
- assert(test_pop || test_pop_all);
+
urcu_posix_
assert(test_pop || test_pop_all);
for (;;) {
if (test_pop && test_pop_all) {
for (;;) {
if (test_pop && test_pop_all) {
This page took
0.024314 seconds
and
4
git commands to generate.