ATOMIC_ADD
Section: Driver Basics (9)
Updated: February 2011
Index
Return to Main Contents
 
NAME
atomic_add - add integer to atomic variable
 
SYNOPSIS
- 
void atomic_add(int i, atomic_t * v);
ARGUMENTS
i
- 
- integer value to add
v
- 
pointer of type atomic_t
DESCRIPTION
Atomically adds
i
to
v.
 
COPYRIGHT