* atomic ops
* make sure that we don't drag in the C library versions
*/
-
-long
-_xdec(long *p)
-{
- int s, v;
-
- s = splhi();
- v = --*p;
- splx(s);
- return v;
-}
-
-void
-_xinc(long *p)
-{
- int s;
-
- s = splhi();
- ++*p;
- splx(s);
-}
-
int
ainc(int *p)
{