1WAKE_UP_PROCESS(9) Driver Basics WAKE_UP_PROCESS(9)
2
3
4
6 wake_up_process - Wake up a specific process
7
9 int wake_up_process(struct task_struct * p);
10
12 p
13 The process to be woken up.
14
16 Attempt to wake up the nominated process and move it to the set of
17 runnable processes.
18
20 1 if the process was woken up, 0 if it was already running.
21
22 It may be assumed that this function implies a write memory barrier
23 before changing the task state if and only if any tasks are woken up.
24
26Kernel Hackers Manual 3.10 June 2019 WAKE_UP_PROCESS(9)