Volatile in Wintun

Jason A. Donenfeld Jason at zx2c4.com
Mon Aug 19 20:15:36 CEST 2019


Generally volatile is used to prevent the compiler from reordering
reads and writes, but we don't assume that volatile implies a memory
barrier. We could probably switch to /volatile:iso.


More information about the WireGuard mailing list