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
..
2005-01-31 08:16:45 +00:00
2004-08-01 18:51:44 +00:00
2005-09-11 20:51:15 +00:00
2005-09-03 23:53:50 +00:00
2005-06-09 19:45:09 +00:00
2005-08-06 20:28:19 +00:00
2004-09-19 03:50:46 +00:00
2004-04-18 07:11:12 +00:00
2005-08-06 20:28:19 +00:00
2005-09-11 20:51:15 +00:00