ATOMIC_SET(9) Driver Basics ATOMIC_SET(9)

NAME atomic_set - set atomic variable

SYNOPSIS void atomic_set(atomic_t * v, int i);

ARGUMENTS v pointer of type atomic_t

i required value

DESCRIPTION Atomically sets the value of v to i.

COPYRIGHT Kernel Hackers Manual 2.6. January 2013 ATOMIC_SET(9)