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

  man pages->NetBSD man pages -> setrunqueue (9)              
Title
Content
Arch
Section
 

SETRUNQUEUE(9)

Contents


NAME    [Toc]    [Back]

     setrunqueue, remrunqueue - manipulate system run queue

SYNOPSIS    [Toc]    [Back]

     #include <sys/proc.h>

     void
     setrunqueue(struct proc *p);

     void
     remrunqueue(struct proc *p);

DESCRIPTION    [Toc]    [Back]

     The setrunqueue and remrunqueue functions manipulate the system queue of
     runnable processes. The system scheduler uses this queue to find the
     highest-priority process when a process switch occurs. These functions
     are machine-dependent in order to permit efficient implementation of priority-based
 process selection.

     The setrunqueue function places the given process on the system run
     queue. It is an error to call setrunqueue with a process that is not
     runnable or that is already on the system run queue or sleep queue.

     The remrunqueue function removes the given process from the system run
     queue. It is an error to call remrunqueue with a process that is not on
     the system run queue.

BSD                              July 5, 2001                              BSD
[ Back ]
 Similar pages
Name OS Title
getprdfent HP-UX manipulate system default database entry for a trusted system
endprdfent HP-UX manipulate system default database entry for a trusted system
putprdfnam HP-UX manipulate system default database entry for a trusted system
setprdfent HP-UX manipulate system default database entry for a trusted system
getprdfnam HP-UX manipulate system default database entry for a trusted system
miser_qinfo IRIX query information on miser queues, queue resource status, and list of jobs scheduled against a queue
msgmnb HP-UX maximum number of bytes on a single System V IPC message queue
arp Linux manipulate the system ARP cache
mq_open Tru64 Establishes the connection between a message queue and a message queue descriptor (P1003.1b)
VFS_QUOTACTL FreeBSD manipulate file system quotas
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service