Scroll to navigation

ATOMIC_ADD(9) Driver Basics ATOMIC_ADD(9)

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

June 2024 Kernel Hackers Manual 3.10