From: Olivier Dion Date: Fri, 31 Mar 2023 14:53:43 +0000 (-0400) Subject: benchmark: Use uatomic for accessing global states X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=9e4e7ad18c86159520b330fab94b93f7ab6d221c;hp=9e4e7ad18c86159520b330fab94b93f7ab6d221c;p=urcu.git benchmark: Use uatomic for accessing global states Global states accesses were protected via memory barriers. Use the uatomic API with the CMM memory model so that TSAN can understand the ordering imposed by the synchronization flags. Change-Id: I1bf5702c5ac470f308c478effe39e424a3158060 Co-authored-by: Mathieu Desnoyers Signed-off-by: Olivier Dion Signed-off-by: Mathieu Desnoyers ---