John Baldwin 3c2bc2bf26 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
2005-09-27 17:39:11 +00:00
..
2004-08-01 18:51:44 +00:00
2005-09-11 20:51:15 +00:00
2005-06-09 19:45:09 +00:00
2004-04-18 06:24:51 +00:00
2005-09-11 20:51:15 +00:00