Index Index for
Section 9r
Index Alphabetical
listing for S
Bottom of page Bottom of
page

select_dequeue(9r)

NAME

select_dequeue - General: Removes the last kernel thread waiting for an event

SYNOPSIS

void select_dequeue( sel_queue_t *selq );

ARGUMENTS

selq 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

FILES

<poll.h> <select.h>

SEE ALSO

Routines: select_dequeue_all(9r), select_enqueue(9r), select_wakeup(9r) Data Structures: sel_queue(9s) System Calls: select(2)

Index Index for
Section 9r
Index Alphabetical
listing for S
Top of page Top of
page