This commit is contained in:
Joel Sherrill
1996-05-23 19:56:49 +00:00
parent d3fed0a30f
commit 3d135eeaa9
16 changed files with 24 additions and 24 deletions

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_setparam" #error "rtems is supposed to have sched_setparam"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_getparam" #error "rtems is supposed to have sched_getparam"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_setscheduler" #error "rtems is supposed to have sched_setscheduler"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_getscheduler" #error "rtems is supposed to have sched_getscheduler"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_yield" #error "rtems is supposed to have sched_yield"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_get_priority_max" #error "rtems is supposed to have sched_get_priority_max"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_get_priority_min" #error "rtems is supposed to have sched_get_priority_min"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_rr_get_interval" #error "rtems is supposed to have sched_rr_get_interval"
@@ -22,10 +22,10 @@
void test( void ) void test( void )
{ {
pid_t pid; pid_t pid;
sruct timespec interval; struct timespec interval;
int result; int result;
pid = 0; pid = 0;
result = sched_rr_get_interval( pid, interval ); result = sched_rr_get_interval( pid, &interval );
} }

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_setparam" #error "rtems is supposed to have sched_setparam"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_getparam" #error "rtems is supposed to have sched_getparam"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_setscheduler" #error "rtems is supposed to have sched_setscheduler"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_getscheduler" #error "rtems is supposed to have sched_getscheduler"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_yield" #error "rtems is supposed to have sched_yield"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_get_priority_max" #error "rtems is supposed to have sched_get_priority_max"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_get_priority_min" #error "rtems is supposed to have sched_get_priority_min"

View File

@@ -13,7 +13,7 @@
* $Id$ * $Id$
*/ */
#include <pthread.h> #include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING #ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_rr_get_interval" #error "rtems is supposed to have sched_rr_get_interval"
@@ -22,10 +22,10 @@
void test( void ) void test( void )
{ {
pid_t pid; pid_t pid;
sruct timespec interval; struct timespec interval;
int result; int result;
pid = 0; pid = 0;
result = sched_rr_get_interval( pid, interval ); result = sched_rr_get_interval( pid, &interval );
} }