projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/regression/rcutorture: Add wait state
[urcu.git]
/
tests
/
benchmark
/
test_rwlock_timing.c
diff --git
a/tests/benchmark/test_rwlock_timing.c
b/tests/benchmark/test_rwlock_timing.c
index a7d035ea5c92ddcca2046939db56ce36bce688ee..99c957c148c3b92629505a998bcb270aeef6aaa3 100644
(file)
--- a/
tests/benchmark/test_rwlock_timing.c
+++ b/
tests/benchmark/test_rwlock_timing.c
@@
-28,11
+28,11
@@
#include <sys/wait.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/wait.h>
#include <unistd.h>
#include <stdio.h>
-#include <assert.h>
#include <pthread.h>
#include <errno.h>
#include <urcu/arch.h>
#include <pthread.h>
#include <errno.h>
#include <urcu/arch.h>
+#include <urcu/assert.h>
#include "thread-id.h"
#include "thread-id.h"
@@
-87,7
+87,7
@@
void *thr_reader(void *arg)
abort();
}
abort();
}
- assert(test_array.a == 8);
+
urcu_posix_
assert(test_array.a == 8);
ret = pthread_rwlock_unlock(&lock);
if (ret) {
ret = pthread_rwlock_unlock(&lock);
if (ret) {
This page took
0.024554 seconds
and
4
git commands to generate.