wq_has_sleeper — check if there are any waiting processes
bool wq_has_sleeper (
)
wq
wait queue head
Returns true if wq has waiting processes
Please refer to the comment for waitqueue_active.