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-05-14 11:46:45 +00:00
2005-01-05 21:58:49 +00:00
2005-01-05 21:58:49 +00:00
2004-05-14 11:46:45 +00:00
2005-02-01 06:36:27 +00:00
2005-05-26 16:05:22 +00:00
2004-05-04 22:21:36 +00:00
2005-01-05 21:58:49 +00:00
2005-01-05 21:58:49 +00:00
2005-01-05 21:58:49 +00:00
2005-01-05 21:58:49 +00:00
2005-01-05 21:58:49 +00:00
2005-01-05 21:58:49 +00:00
2004-09-23 22:30:05 +00:00
2004-11-07 23:01:36 +00:00
2004-05-14 11:46:45 +00:00
2005-01-05 21:58:49 +00:00
2005-06-09 19:45:09 +00:00
2005-01-05 21:58:49 +00:00
2005-01-05 21:58:49 +00:00
2004-05-14 11:46:45 +00:00
2004-05-14 11:46:45 +00:00
2005-01-05 21:58:49 +00:00
2004-05-14 11:46:45 +00:00
2004-05-14 11:46:45 +00:00
2004-05-14 11:46:45 +00:00
2005-01-05 21:58:49 +00:00
2004-05-14 11:46:45 +00:00
2004-05-14 11:46:45 +00:00