]> git.lttng.org Git - urcu.git/commit
urcu-wait: Fix wait state load/store
authorOlivier Dion <odion@efficios.com>
Thu, 30 Mar 2023 20:09:50 +0000 (16:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 14 Aug 2023 19:39:11 +0000 (15:39 -0400)
commit2ea38794876c907639971035ed29c4e59964fd7f
tree0e38e84d4310b3f3a4ae15c7cb2070eaf0080d7b
parentd18544842bdfbf2cba6c194a8e8d305ddf5e295e
urcu-wait: Fix wait state load/store

The state of a wait node must be accessed atomically. Also, the action
of busy loading until the teardown state is seen must follow a
CMM_ACQUIRE semantic while storing the teardown must follow a
CMM_RELEASE semantic.

Change-Id: I9cd9cf4cd9ab2081551d7f33c0b1c23c3cf3942f
Co-authored-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Olivier Dion <odion@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/urcu-wait.h
This page took 0.029497 seconds and 4 git commands to generate.