Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

select_dequeue(9r) [osf1 man page]

select_dequeue(9r)														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
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
SEE ALSO
Routines: select_dequeue_all(9r), select_enqueue(9r), select_wakeup(9r) Data Structures: sel_queue(9s) System Calls: select(2) select_dequeue(9r)

Check Out this Related Man Page

select_wakeup(9r)														 select_wakeup(9r)

NAME
select_wakeup - General: Wakes up a kernel thread SYNOPSIS
void select_wakeup( sel_queue_t *selq ); ARGUMENTS
Specifies a pointer to a sel_queue structure. DESCRIPTION
The select_wakeup routine wakes up a kernel thread that is suspended while waiting for an event on the specified device. A user-level process can use the select system call to cause the process to be suspended while waiting for an event to happen on a device. For example, a graphics application may issue a select call while waiting for mouse or keyboard input to arrive. In this case the process would issue the select system call, which would indirectly call the graphics driver's select routine (through the driver's select entry point in the dsent table) to determine if any input is available. If input is available, the select call may return immediately. If no input is cur- rently available, the graphics driver would suspend the process until input arrived. For this example, when the graphics driver has received input (typically through its interrupt handler), it causes any processes suspended from calling select to continue by calling the select_wakeup routine. This causes any process currently suspended on the select channel (as specified by the selq argument) to resume. RETURN VALUES
None SEE ALSO
Routines: select_dequeue(9r), select_dequeue_all(9r), select_enqueue(9r) System Calls: select(2) select_wakeup(9r)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies