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.