commit | d0c3b8894a7c625f810639d8dc0726dba097411e | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Mar 07 18:55:31 2019 +0100 |
committer | Olivier Houchard <cognet@ci0.org> | Mon Mar 11 17:02:37 2019 +0100 |
tree | 3ce7069eeed123096a7537ee06923ccb282ab297 | |
parent | 113537967c8680f94977473e18c9e14dc09c3356 [diff] |
MINOR: threads: Add macros to do atomic operation with no memory barrier. Add variants of the HA_ATOMIC* macros, prefixed with a _, that do the atomic operation with no barrier generated by the compiler. It is expected the developer adds barriers manually if needed.