jhb 89caa56972 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-11-02 09:47:01 +00:00
2005-02-04 01:14:38 +00:00
2004-11-20 02:29:50 +00:00
2004-07-12 22:17:20 +00:00
2005-06-09 19:45:09 +00:00
2005-06-11 10:59:02 +00:00
2004-04-18 08:10:04 +00:00