1__WAKE_UP(9)                     Driver Basics                    __WAKE_UP(9)
2
3
4

NAME

6       __wake_up - wake up threads blocked on a waitqueue.
7

SYNOPSIS

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

ARGUMENTS

13       q
14           the waitqueue
15
16       mode
17           which threads
18
19       nr_exclusive
20           how many wake-one or wake-many threads to wake up
21
22       key
23           is directly passed to the wakeup function
24

DESCRIPTION

26       It may be assumed that this function implies a write memory barrier
27       before changing the task state if and only if any tasks are woken up.
28
30Kernel Hackers Manual 2.6.         June 2019                      __WAKE_UP(9)
Impressum