wake_up_atomic_t(9)

wake_up_atomic_t9

Wake up a waiter on a atomic_t

Usage

void wake_up_atomic_t(atomic_t * p);

Arguments

p

The atomic_t being waited on, a kernel virtual address

Overview

Wake up anyone waiting for the atomic_t to go to zero.

Abuse the bit-waker function and its waitqueue hash table set (the atomic_t check is done by the waiter's wake function, not the by the waker itself).

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.