diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-24 12:24:46 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-24 12:26:00 +0000 |
commit | c072f4f3c4b540c7cfebec563b0fb5d7ba932b6f (patch) | |
tree | c908f6664b8425ab2b88dcc1234622fdd54acc6f /installer | |
parent | README: clarify spinning (diff) | |
download | wintun-c072f4f3c4b540c7cfebec563b0fb5d7ba932b6f.tar.xz wintun-c072f4f3c4b540c7cfebec563b0fb5d7ba932b6f.zip |
Explicitly opt-in to READ_ONCE/WRITE_ONCE semantics
We mark all atomic variables as volatile and have our atomic accessors
built around that. We probably, therefore, want Linux-style
READ/WRITE_ONCE semantics of implying memory barriers. /volatile:ms does
this automatically.
This was already the default on amd64 and x86 but not on ARM.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reported-by: Lev Stipakov <lstipakov@gmail.com>
Diffstat (limited to 'installer')
0 files changed, 0 insertions, 0 deletions