tests/regression/rcutorture: Use urcu-wait
authorOlivier Dion <odion@efficios.com>
Fri, 14 Jul 2023 16:49:24 +0000 (12:49 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 14 Jul 2023 19:12:08 +0000 (15:12 -0400)
commit0d48d10d15ca38fea1010456581b4840dbc9f888
tree76418738d4485bb04cb9da8762b157df47829de8
parentb21d2eb5c48761a54e6868ed114aa256aee1c2cd
tests/regression/rcutorture: Use urcu-wait

pthread_cond_wait(3) can have spurious wakeups on some OS. To detect
such spurious wakeup, a global variable is shared between the waiter and
the waker.

We can use urcu-wait instead.

Change-Id: I6a2d2f3c9104ea23df16a7c8ba3557bb5d58306c
Signed-off-by: Olivier Dion <odion@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/regression/rcutorture.h
This page took 0.026412 seconds and 4 git commands to generate.