forked from Imagelibrary/rtems
cleanup
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_setparam"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_getparam"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_setscheduler"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_getscheduler"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_yield"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_get_priority_max"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_get_priority_min"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_rr_get_interval"
|
||||
@@ -21,11 +21,11 @@
|
||||
|
||||
void test( void )
|
||||
{
|
||||
pid_t pid;
|
||||
sruct timespec interval;
|
||||
int result;
|
||||
pid_t pid;
|
||||
struct timespec interval;
|
||||
int result;
|
||||
|
||||
pid = 0;
|
||||
|
||||
result = sched_rr_get_interval( pid, interval );
|
||||
result = sched_rr_get_interval( pid, &interval );
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_setparam"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_getparam"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_setscheduler"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_getscheduler"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_yield"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_get_priority_max"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_get_priority_min"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#ifndef _POSIX_PRIORITY_SCHEDULING
|
||||
#error "rtems is supposed to have sched_rr_get_interval"
|
||||
@@ -21,11 +21,11 @@
|
||||
|
||||
void test( void )
|
||||
{
|
||||
pid_t pid;
|
||||
sruct timespec interval;
|
||||
int result;
|
||||
pid_t pid;
|
||||
struct timespec interval;
|
||||
int result;
|
||||
|
||||
pid = 0;
|
||||
|
||||
result = sched_rr_get_interval( pid, interval );
|
||||
result = sched_rr_get_interval( pid, &interval );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user