wait_task_stopped man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

WAIT_TASK_STOPPED(9)		 Driver Basics		  WAIT_TASK_STOPPED(9)

NAME
       wait_task_stopped - Wait for TASK_STOPPED or TASK_TRACED

SYNOPSIS
       int wait_task_stopped(struct wait_opts * wo, int ptrace,
			     struct task_struct * p);

ARGUMENTS
       wo
	   wait options

       ptrace
	   is the wait for ptrace

       p
	   task to wait for

DESCRIPTION
       Handle sys_wait4 work for p in state TASK_STOPPED or TASK_TRACED.

CONTEXT
       read_lock(tasklist_lock), which is released if return value is
       non-zero. Also, grabs and releases p->sighand->siglock.

RETURNS
       0 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.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		  WAIT_TASK_STOPPED(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net