1KTHREAD_SHOULD_STOP(9)           Driver Basics          KTHREAD_SHOULD_STOP(9)
2
3
4

NAME

6       kthread_should_stop - should this kthread return now?
7

SYNOPSIS

9       int kthread_should_stop(void);
10

ARGUMENTS

12       void
13           no arguments
14

DESCRIPTION

16       When someone calls kthread_stop on your kthread, it will be woken and
17       this will return true. You should then return, and your return value
18       will be passed through to kthread_stop.
19
21Kernel Hackers Manual 2.6.       November 2011          KTHREAD_SHOULD_STOP(9)
Impressum