tests/regression/rcutorture: Add wait state
authorOlivier Dion <odion@efficios.com>
Fri, 14 Jul 2023 16:59:23 +0000 (12:59 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 14 Jul 2023 17:21:54 +0000 (13:21 -0400)
commitad79eaca302be2f16a525829df3f6a443110336c
tree45fb50e99bd1eb0b04f74f6b1a228e66cc98a507
parent77f79f53c014be557246088462613cb96d96db85
tests/regression/rcutorture: Add wait state

pthread_cond_wait(3) can have spurious wakeups. Fix this by polling a
state associated with the the wait.

Change-Id: Iba034cba5f72ad88388d1b90a6093f4ae9f9beb9
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.024935 seconds and 4 git commands to generate.