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       bool 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 3.10         June 2019            KTHREAD_SHOULD_STOP(9)
Impressum