X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Fbenchmark%2Ftest_rwlock.c;fp=tests%2Fbenchmark%2Ftest_rwlock.c;h=6908ea4ca5b4a7f315d76a5212640adface5073a;hp=7ee73b42a25f162e024edcff3fdb8b4c8ce41171;hb=014775106c60f02818ca755b331f887030bd440f;hpb=2a27e9319bacc9bc98f38afb7e4f050601ab979b diff --git a/tests/benchmark/test_rwlock.c b/tests/benchmark/test_rwlock.c index 7ee73b4..6908ea4 100644 --- a/tests/benchmark/test_rwlock.c +++ b/tests/benchmark/test_rwlock.c @@ -28,10 +28,10 @@ #include #include #include -#include #include #include +#include #include #include "thread-id.h" @@ -161,7 +161,7 @@ void *thr_reader(void *_count) } a = test_array.a; - assert(a == 8); + urcu_posix_assert(a == 8); if (caa_unlikely(rduration)) loop_sleep(rduration);