RTEMS Logo

RTEMS 4.10.2 On-Line Library


Thread Manager pthread_attr_setschedparam - Set Scheduling Parameters

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

17.4.15: pthread_attr_setschedparam - Set Scheduling Parameters

CALLING SEQUENCE:

#include <pthread.h>

int pthread_attr_setschedparam(
  pthread_attr_t           *attr,
  const struct sched_param  param
);

STATUS CODES:

EINVAL
The attribute pointer argument is invalid.
EINVAL
The attribute set is not initialized.
EINVAL
The specified scheduler parameter argument is invalid.

DESCRIPTION:

The pthread_attr_setschedparam routine is used to set the scheduler parameters field in the thread attribute object attr to the value specified by param.

NOTES:

As required by POSIX, RTEMS defines the feature symbol _POSIX_THREAD_PRIORITY_SCHEDULING to indicate that the family of routines to which this routine belongs is supported.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2008 OAR Corporation