Query: kthread_stop
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KTHREAD_STOP(9) Driver Basics KTHREAD_STOP(9)NAMEkthread_stop - stop a thread created by kthread_create.SYNOPSISint kthread_stop(struct task_struct * k);ARGUMENTSk thread created by kthread_create.DESCRIPTIONSets 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.COPYRIGHTKernel Hackers Manual 3.10 June 2014 KTHREAD_STOP(9)
Related Man Pages |
---|
iv_thread_set_debug_state(3) - debian |
pthread_exit(3t) - hpux |
kthread_exit(9) - netbsd |
tapset::scheduler(3stap) - centos |
tapset::irq(3stap) - debian |
Similar Topics in the Unix Linux Community |
---|
Weird 'find' results |
How to increment version inside a file? |
CentOS7 restoring file capabilities |
Unsure why access time on a directory change isn't changing |
Controlling user input |