projects
/
userspace-rcu.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
[userspace-rcu.git]
/
tests
/
benchmark
/
test_urcu_lfs.c
diff --git
a/tests/benchmark/test_urcu_lfs.c
b/tests/benchmark/test_urcu_lfs.c
index 1d1ae52064e97b592a10b623f2030c48b6a0716f..52239e02360931be91738c30753a6f5f522892ac 100644
(file)
--- a/
tests/benchmark/test_urcu_lfs.c
+++ b/
tests/benchmark/test_urcu_lfs.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 "thread-id.h"
#include <urcu/tls-compat.h>
#include "thread-id.h"
@@
-266,7
+266,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.023832 seconds
and
4
git commands to generate.