commit | fa68d2641bda7ffd01b66e253a049fdee94e9ccd | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Apr 06 14:04:22 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Apr 07 18:18:37 2021 +0200 |
tree | 26f1173404a7dd4908679df64e1b283bbd423013 | |
parent | 4781b1521a5c7da72ca673cf5885dda9f33bef3d [diff] |
CLEANUP: atomic: use the __atomic variant of BTS/BTR on modern compilers Probably due to the result of an old copy-paste, HA_ATOMIC_BTS/BTR were still implemented using the __sync_* builtins instead of the more modern __atomic_* which allow to specify the memory model. Let's update this to use the newer there and also implement the relaxed variants (which are not used for now).