RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


Scheduler Manager sched_rr_get_interval - Get Timeslicing Quantum

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

13.4.3: sched_rr_get_interval - Get Timeslicing Quantum

CALLING SEQUENCE:

#include <sched.h>

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

STATUS CODES:

On error, this routine returns -1 and sets errno to one of the following:

ESRCH
The indicated process id is invalid.
EINVAL
The specified interval pointer parameter is invalid.

DESCRIPTION:

This routine returns the length of the timeslice quantum in the interval parameter for the specified pid.

NOTES:

The pid argument should be 0 to indicate the calling process.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2004 OAR Corporation