diff options
author | Alexis211 <alexis211@gmail.com> | 2009-12-18 16:27:29 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-12-18 16:27:29 +0100 |
commit | 437e65ecbdedd07105254b1b5e6a41d191a794a3 (patch) | |
tree | 5c48afbd76c5cfc4c1297fc18acb0bc71cd502b3 /Unix/i686-elf/include/sys/sched.h | |
parent | 260347c06637f15ea93c6ad99bce4420a28bae6b (diff) | |
download | Melon-437e65ecbdedd07105254b1b5e6a41d191a794a3.tar.gz Melon-437e65ecbdedd07105254b1b5e6a41d191a794a3.zip |
Revert "[nonworking commit] Started porting newlib"
This reverts commit d04645198d648a17ccb83e70aa5e6d60a06121aa.
Diffstat (limited to 'Unix/i686-elf/include/sys/sched.h')
-rw-r--r-- | Unix/i686-elf/include/sys/sched.h | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/Unix/i686-elf/include/sys/sched.h b/Unix/i686-elf/include/sys/sched.h deleted file mode 100644 index 4316b89..0000000 --- a/Unix/i686-elf/include/sys/sched.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Written by Joel Sherrill <joel@OARcorp.com>. - * - * COPYRIGHT (c) 1989-2000. - * On-Line Applications Research Corporation (OAR). - * - * Permission to use, copy, modify, and distribute this software for any - * purpose without fee is hereby granted, provided that this entire notice - * is included in all copies of any software which is or includes a copy - * or modification of this software. - * - * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED - * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION - * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS - * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. - * - * $Id: sched.h,v 1.2 2002/06/20 19:51:24 fitzsim Exp $ - */ - - -#ifndef __POSIX_SYS_SCHEDULING_h -#define __POSIX_SYS_SCHEDULING_h - -#ifdef __cplusplus -extern "C" { -#endif - -#include <sys/unistd.h> - -#include <sys/types.h> -#include <sys/time.h> - -/* Scheduling Policies, P1003.1b-1993, p. 250 - NOTE: SCHED_SPORADIC added by P1003.4b/D8, p. 34. */ - -#define SCHED_OTHER 0 -#define SCHED_FIFO 1 -#define SCHED_RR 2 - -#if defined(_POSIX_SPORADIC_SERVER) -#define SCHED_SPORADIC 3 -#endif - -/* Scheduling Parameters, P1003.1b-1993, p. 249 - NOTE: Fields whose name begins with "ss_" added by P1003.4b/D8, p. 33. */ - -struct sched_param { - int sched_priority; /* Process execution scheduling priority */ - -#if defined(_POSIX_SPORADIC_SERVER) - int ss_low_priority; /* Low scheduling priority for sporadic */ - /* server */ - struct timespec ss_replenish_period; - /* Replenishment period for sporadic server */ - struct timespec ss_initial_budget; /* Initial budget for sporadic server */ -#endif -}; - -#ifdef __cplusplus -} -#endif - -#endif -/* end of include file */ - |