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. Returns 1 if the process was woken up, 0 if it was
18 already running.
19
20 It may be assumed that this function implies a write memory barrier
21 before changing the task state if and only if any tasks are woken up.
22
24Kernel Hackers Manual 2.6. June 2019 WAKE_UP_PROCESS(9)