select_enqueue man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

select_enqueue(9r)					    select_enqueue(9r)

NAME
       select_enqueue - General: Adds the current kernel thread

SYNOPSIS
       void select_enqueue(
	       sel_queue_t *selq );

ARGUMENTS
       Specifies a pointer to a sel_queue structure.

DESCRIPTION
       The  select_enqueue  routine adds the current kernel thread to the list
       of kernel threads waiting for a select event on the  specified  device.
       This  routine  is called when a kernel module's select routine has been
       called and the requested event cannot be	 immediately  satisfied.   For
       example, the requested event cannot be immediately satisfied when xxse‐
       lect is called for the following reasons: To select on input and	 there
       are  no characters available When called for output and the kernel mod‐
       ule's output buffers are currently full

       By calling select_enqueue, the kernel module's select  routine  ensures
       that  the  kernel  thread issuing the select call will be blocked until
       the requested event can be satisfied or until the  select  call	termi‐
       nates.

CAUTIONS
       You must call the queue_init routine to initialize the sel_queue struc‐
       ture pointer prior to calling select_enqueue. Failure to do  so	causes
       the kernel to panic.

RETURN VALUES
       None

FILES
SEE ALSO
       Routines:  queue_init(9r),  select_dequeue(9r), select_dequeue_all(9r),
       select_wakeup(9r)

       Data Structures: sel_queue(9s)

       System Calls: select(2)

							    select_enqueue(9r)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net