diff options
author | 2014-09-01 03:39:15 +0000 | |
---|---|---|
committer | 2014-09-01 03:39:15 +0000 | |
commit | e3eaccae9d76588bb50d9ac649da9da9aff15ea8 (patch) | |
tree | 34d02ed4d9425b649b9aef3cb9d8f2319fb846da /lib/libc | |
parent | Add explicit membars, so that we can stop requiring rw_cas() to (diff) | |
download | wireguard-openbsd-e3eaccae9d76588bb50d9ac649da9da9aff15ea8.tar.xz wireguard-openbsd-e3eaccae9d76588bb50d9ac649da9da9aff15ea8.zip |
Add implementations of atomic_{inc,dec,add,sub}_{int,long}() and
atomic_{add,sub}_{int,long}_nv(), based on Solaris and translated
through the mind of dlg@
Remove the 'memory' constraint from atomic_cas_{uint,ulong,ptr}()
now that rw_{enter,exit}*() use membars.
ok dlg@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions