Scroll to navigation

WQ_HAS_SLEEPER(9) Driver Basics WQ_HAS_SLEEPER(9)

NAME

wq_has_sleeper - check if there are any waiting processes

SYNOPSIS

bool wq_has_sleeper(wait_queue_head_t * wq);

ARGUMENTS

wq
wait queue head

DESCRIPTION

Returns true if wq has waiting processes
Please refer to the comment for waitqueue_active.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.