Query: kthread_freezable_should_stop
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KTHREAD_FREEZABLE_SH(9) Driver Basics KTHREAD_FREEZABLE_SH(9)NAMEkthread_freezable_should_stop - should this freezable kthread return now?SYNOPSISbool kthread_freezable_should_stop(bool * was_frozen);ARGUMENTSwas_frozen optional out parameter, indicates whether current was frozenDESCRIPTIONkthread_should_stop for freezable kthreads, which will enter refrigerator if necessary. This function is safe from kthread_stop / freezer deadlock and freezable kthreads should use this function instead of calling try_to_freeze directly.COPYRIGHTKernel Hackers Manual 3.10 June 2014 KTHREAD_FREEZABLE_SH(9)