WAKE_UP_PROCESS(9) Driver Basics WAKE_UP_PROCESS(9)NAMEwake_up_process - Wake up a specific process
SYNOPSIS
int wake_up_process(struct task_struct * p);
ARGUMENTS
p
The process to be woken up.
DESCRIPTION
Attempt to wake up the nominated process and move it to the set of
runnable processes. Returns 1 if the process was woken up, 0 if it was
already running.
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.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 WAKE_UP_PROCESS(9)