suse man page for kthread_stop

Query: kthread_stop

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KTHREAD_STOP(9) 						   Driver Basics						   KTHREAD_STOP(9)

NAME
kthread_stop - stop a thread created by kthread_create.
SYNOPSIS
int kthread_stop(struct task_struct * k);
ARGUMENTS
k thread created by kthread_create.
DESCRIPTION
Sets kthread_should_stop for k to return true, wakes it, and waits for it to exit. This can also be called after kthread_create instead of calling wake_up_process: the thread will exit without calling threadfn. If threadfn may call do_exit itself, the caller must ensure task_struct can't go away. Returns the result of threadfn, or -EINTR if wake_up_process was never called.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 KTHREAD_STOP(9)
Related Man Pages
iv_thread_set_debug_state(3) - debian
iv_thread(3) - debian
utrace_prepare_examine(9) - suse
kthread_exit(9) - netbsd
tapset::scheduler(3stap) - centos
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
A (ksh) Library For and From UNIX.com
Shopt -s histappend