summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-09-27 17:39:11 +0000
committerjhb <jhb@FreeBSD.org>2005-09-27 17:39:11 +0000
commit89caa56972d968272278a67fe10affb38d9e88eb (patch)
tree368df1c62ea6aa397797927efbf9c7ccc4b3b92e /share
parentaa790ae8700e7fed7ef83f2549c6bc53d6ae7f8f (diff)
downloadFreeBSD-src-89caa56972d968272278a67fe10affb38d9e88eb.zip
FreeBSD-src-89caa56972d968272278a67fe10affb38d9e88eb.tar.gz
Add a new atomic_fetchadd() primitive that atomically adds a value to a
variable and returns the previous value of the variable. Tested on: i386, alpha, sparc64, arm (cognet) Reviewed by: arch@ Submitted by: cognet (arm) MFC after: 1 week
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud