Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

thr_getscheduler(3thread)

thr_setscheduler(3thread)

thread(3thread)






       thr_get_rr_interval(3thread)            thr_get_rr_interval(3thread)


       NAME
             thr_get_rr_interval - get the round-robin scheduling interval

       SYNOPSIS
             cc [options] -Kthread file
             #include <thread.h>
             void thr_get_rr_interval(timestruc_t *rr_time);

          Parameters
             rr_time pointer to the timestruc_t containing the value of the
                     round-robin scheduling interval (set by
                     thr_get_rr_interval)

       DESCRIPTION
             thr_get_rr_interval stores the round-robin scheduling time
             quantum used by the Threads Library implementation for threads
             using the SCHED_RR scheduling policy in the timestruc_t
             pointed to by rr_time.

          rr_time Parameter
             rr_time is set by thr_get_rr_interval.  The user supplies a
             pointer to a timestruc_t object.  timestruc_t is defined in
             time.h as follows:

                         struct {
                               time_t      tv_sec;           /* seconds */
                               long  tv_nsec;    /* nanoseconds */
                         } timestruc_t;

          Security Restrictions
             thr_get_rr_interval requires no special permissions or
             privilege.

          Return Values
             thr_get_rr_interval does not return a value.

          Errors
             None

       REFERENCES
             thr_getscheduler(3thread), thr_setscheduler(3thread),
             thread(3thread)






                           Copyright 1994 Novell, Inc.               Page 1








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026