summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-09-01 03:39:15 +0000
committerguenther <guenther@openbsd.org>2014-09-01 03:39:15 +0000
commite3eaccae9d76588bb50d9ac649da9da9aff15ea8 (patch)
tree34d02ed4d9425b649b9aef3cb9d8f2319fb846da /lib/libc
parentAdd explicit membars, so that we can stop requiring rw_cas() to (diff)
downloadwireguard-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