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

NAME

6       kthread_freezable_should_stop - should this freezable kthread return
7       now?
8

SYNOPSIS

10       bool kthread_freezable_should_stop(bool * was_frozen);
11

ARGUMENTS

13       was_frozen
14           optional out parameter, indicates whether current was frozen
15

DESCRIPTION

17       kthread_should_stop for freezable kthreads, which will enter
18       refrigerator if necessary. This function is safe from kthread_stop /
19       freezer deadlock and freezable kthreads should use this function
20       instead of calling try_to_freeze directly.
21
23Kernel Hackers Manual 3.10         June 2019           KTHREAD_FREEZABLE_SH(9)
Impressum