Query: wait_task_stopped
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WAIT_TASK_STOPPED(9) Driver Basics WAIT_TASK_STOPPED(9)NAMEwait_task_stopped - Wait for TASK_STOPPED or TASK_TRACEDSYNOPSISint wait_task_stopped(struct wait_opts * wo, int ptrace, struct task_struct * p);ARGUMENTSwo wait options ptrace is the wait for ptrace p task to wait forDESCRIPTIONHandle sys_wait4 work for p in state TASK_STOPPED or TASK_TRACED.CONTEXTread_lock(tasklist_lock), which is released if return value is non-zero. Also, grabs and releases p->sighand->siglock.RETURNS0 if wait condition didn't exist and search for other wait conditions should continue. Non-zero return, -errno on failure and p's pid on success, implies that tasklist_lock is released and wait condition search should terminate.COPYRIGHTKernel Hackers Manual 3.10 June 2014 WAIT_TASK_STOPPED(9)
Related Man Pages |
---|
wait_event_interruptible_exclusive_locked_irq(9) - centos |
explain_wait_or_die(3) - debian |
wait(2) - v7 |
wait(1) - hpux |
ptrace(3c) - x11r4 |
Similar Topics in the Unix Linux Community |
---|
Weird 'find' results |
How to increment version inside a file? |
Tar Command |
Docker learning Phase-I |
Unsure why access time on a directory change isn't changing |