*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> select_dequeue (9r)              



NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

       void select_dequeue(
               sel_queue_t *selq );

ARGUMENTS    [Toc]    [Back]

       Specifies a pointer to a sel_queue structure.

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]


FILES    [Toc]    [Back]

       Routines:    select_dequeue_all(9r),   select_enqueue(9r),

       Data Structures: sel_queue(9s)

       System Calls: select(2)

[ Back ]
 Similar pages
Name OS Title
select_dequeue_all Tru64 General: Removes all kernel threads waiting for an event
thread_wakeup_one Tru64 General: Wakes up the first kernel thread waiting on a channel
thread_wakeup Tru64 General: Wakes up all kernel threads waiting for the specified event
select_wakeup Tru64 General: Wakes up a kernel thread
unix_release Tru64 General: Releases binding of the kernel thread
select_enqueue Tru64 General: Adds the current kernel thread
mpsleep Tru64 General: Blocks the current kernel thread
current_thread Tru64 General: Is a pointer to the currently running kernel thread
thread_set_timeout Tru64 General: Sets a timer for the current kernel thread
assert_wait_mesg Tru64 General: Asserts that the current kernel thread is about to block (sleep)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service