sched_rr_get_interval man page on Tru64

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

sched_rr_get_interval(3)			      sched_rr_get_interval(3)

NAME
       sched_rr_get_interval  - Returns the current quantum for process execu‐
       tion under the SCHED_RR policy (P1003.1b)

SYNOPSIS
       #include <sched.h>

       int sched_rr_get_interval ( pid_t pid, struct timespec *interval);

LIBRARY
       Realtime Library (librt.so, librt.a)

PARAMETERS
       Specifies the ID of  the	 process  for  which  the  quantum  is	to  be
       returned.   Specifies  the  location to receive the current quantum for
       process execution under the SCHED_RR scheduling policy.

DESCRIPTION
       The sched_rr_get_interval function updates the timespec structure  ref‐
       erenced by the interval argument to contain the current quantum for the
       process executing under the SCHED_RR policy. If a process running under
       the round-robin scheduling policy runs without blocking or yielding for
       more than this amount of time, it may be preempted by another  runnable
       process (at the same priority).

       If  the	PID argument is zero, the current execution time limit for the
       calling process is returned.

       No special privileges are needed to use the sched_rr_get_interval func‐
       tion.

RETURN VALUES
       On a successful call, a value of 0 (zero) is returned. On an unsuccess‐
       ful call, a value of -1 is returned and errno is set  to	 indicate  the
       error.

ERRORS
       The  sched_rr_get_interval  fails  under	 the  following condition: The
       value of the pid parameter does not indicate an existing process.

SEE ALSO
       Functions: sched_getparam(3), sched_getscheduler(3), sched_setparam(3),
       sched_setscheduler(3)

       Guide to Realtime Programming

						      sched_rr_get_interval(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

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