Name

wq_has_single_sleeper — check if there is only one sleeper

Synopsis

bool wq_has_single_sleeper (wait_queue_head_t * q);
 

Arguments

q

-- undescribed --

Description

Returns true of wq_head has only one sleeper on the list.

Please refer to the comment for waitqueue_active.