kthread_stop man page on Scientific

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

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.	 November 2013		       KTHREAD_STOP(9)
[top]

List of man pages available for Scientific

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