X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fbenchmark%2Ftest_rwlock_timing.c;h=99c957c148c3b92629505a998bcb270aeef6aaa3;hb=d5a39857691dfd86c2b1fb3a7ba6161b98130ab1;hp=a7d035ea5c92ddcca2046939db56ce36bce688ee;hpb=61c3fb603104bda9e67c0690c1964e61a770d045;p=userspace-rcu.git diff --git a/tests/benchmark/test_rwlock_timing.c b/tests/benchmark/test_rwlock_timing.c index a7d035e..99c957c 100644 --- a/tests/benchmark/test_rwlock_timing.c +++ b/tests/benchmark/test_rwlock_timing.c @@ -28,11 +28,11 @@ #include #include #include -#include #include #include #include +#include #include "thread-id.h" @@ -87,7 +87,7 @@ void *thr_reader(void *arg) abort(); } - assert(test_array.a == 8); + urcu_posix_assert(test_array.a == 8); ret = pthread_rwlock_unlock(&lock); if (ret) {