diff options
author | jhb <jhb@FreeBSD.org> | 2005-09-27 17:39:11 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-09-27 17:39:11 +0000 |
commit | 89caa56972d968272278a67fe10affb38d9e88eb (patch) | |
tree | 368df1c62ea6aa397797927efbf9c7ccc4b3b92e /share | |
parent | aa790ae8700e7fed7ef83f2549c6bc53d6ae7f8f (diff) | |
download | FreeBSD-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