From: Olivier Dion Date: Fri, 17 Mar 2023 21:37:49 +0000 (+0100) Subject: configure: Add --enable-compiler-atomic-builtins option X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=3afcf5a0407c69b32603a249e8e7b3d309584a85;hp=3afcf5a0407c69b32603a249e8e7b3d309584a85;p=urcu.git configure: Add --enable-compiler-atomic-builtins option If the toolchain supports atomic builtins and the user ask for atomic builtins, use them for the uatomic API. This requires that the toolchains used to compile the library and the user application supports such builtins. The advantage of using these builtins is that they are well known synchronization primitives by several tools such as TSAN. However, they may introduce redundant memory barriers, mainly on strongly ordered architectures. Change-Id: Ia8e97112681f744f17816dbc4cbbec805a483331 Co-authored-by: Mathieu Desnoyers Signed-off-by: Olivier Dion Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers ---