1KTHREAD_SHOULD_STOP(9) Driver Basics KTHREAD_SHOULD_STOP(9)
23
4
NAME
6kthread_should_stop - should this kthread return now?
7
SYNOPSIS
9int kthread_should_stop(void);
10
ARGUMENTS
12void
13no arguments
14
DESCRIPTION
16When someone calls kthread_stop on your kthread, it will be woken and
17this will return true. You should then return, and your return value
18will be passed through to kthread_stop.
19
COPYRIGHT
21Kernel Hackers Manual 2.6. November 2011 KTHREAD_SHOULD_STOP(9)