centos man page for kthread_should_stop

Query: kthread_should_stop

OS: centos

Section: 9

Links: centos man pages   all man pages   forum categories

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

KTHREAD_SHOULD_STOP(9)						   Driver Basics					    KTHREAD_SHOULD_STOP(9)

NAME
kthread_should_stop - should this kthread return now?
SYNOPSIS
bool kthread_should_stop(void);
ARGUMENTS
void no arguments
DESCRIPTION
When someone calls kthread_stop on your kthread, it will be woken and this will return true. You should then return, and your return value will be passed through to kthread_stop.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 KTHREAD_SHOULD_STOP(9)