kthread_freezable_should_stop(9) centos man page | unix.com

Man Page: kthread_freezable_should_stop

Operating Environment: centos

Section: 9

KTHREAD_FREEZABLE_SH(9) 					   Driver Basics					   KTHREAD_FREEZABLE_SH(9)

NAME
kthread_freezable_should_stop - should this freezable kthread return now?
SYNOPSIS
bool kthread_freezable_should_stop(bool * was_frozen);
ARGUMENTS
was_frozen optional out parameter, indicates whether current was frozen
DESCRIPTION
kthread_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.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 KTHREAD_FREEZABLE_SH(9)
Related Man Pages
del_timer_sync(9) - centos
schedule_hrtimeout_range(9) - centos
wait_event_interruptible_exclusive_locked_irq(9) - centos
kthread_exit(9) - netbsd
kthread_join(9) - netbsd
Similar Topics in the Unix Linux Community
DB2 convert digits to binary format
Tar Command
Docker learning Phase-I
Unsure why access time on a directory change isn't changing
Controlling user input