commit | b29dc95a9748732898996540768bbed7a01f9a03 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 31 18:00:20 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 18:01:18 2017 +0100 |
tree | 88be70726fd9462384e3eb36ac87e493821fdecb | |
parent | 2510f702f923ae83f8324bc94703fc77a37601bc [diff] |
MINOR: threads: add a portable barrier for threads and non-threads HA_BARRIER() is just a simple memory barrier to prevent the compiler from reordering our code.