select_dequeue(9r)select_dequeue(9r)NAMEselect_dequeue - General: Removes the last kernel thread waiting for an
event
SYNOPSIS
void select_dequeue(
sel_queue_t *selq );
ARGUMENTS
Specifies a pointer to a sel_queue structure.
DESCRIPTION
The select_dequeue routine removes the last kernel thread waiting for
an event to occur on the specified device. This routine is called to
terminate a select call. Typically, a kernel module's xxselect routine
calls select_dequeue when the kernel sets the scanning argument (for
the module's xxselect routine) to the value 0 (zero). This value causes
the kernel to unblock any kernel threads suspended when selecting
events for this device.
RETURN VALUES
None
FILESSEE ALSO
Routines: select_dequeue_all(9r), select_enqueue(9r), select_wakeup(9r)
Data Structures: sel_queue(9s)
System Calls: select(2)select_dequeue(9r)