X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Fbenchmark%2Ftest_rwlock_timing.c;h=99c957c148c3b92629505a998bcb270aeef6aaa3;hp=a7d035ea5c92ddcca2046939db56ce36bce688ee;hb=014775106c60f02818ca755b331f887030bd440f;hpb=2a27e9319bacc9bc98f38afb7e4f050601ab979b 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) {