__wake_up(9)

__wake_up9

Wake up threads blocked on a waitqueue.

Usage

void __wake_up(wait_queue_head_t * q, unsigned int mode, int nr_exclusive, void * key);

Arguments

q

the waitqueue

mode

which threads

nr_exclusive

how many wake-one or wake-many threads to wake up

key

is directly passed to the wakeup function

Overview

It may be assumed that this function implies a write memory barrier before changing the task state if and only if any tasks are woken up.

Releases

5 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8

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