home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.2 (Developer)
/
NS_dev_3.2.iso
/
NextDeveloper
/
Headers
/
mach
/
policy.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-19
|
1KB
|
50 lines
/*
* Mach Operating System
* Copyright (c) 1989 Carnegie-Mellon University
* Copyright (c) 1988 Carnegie-Mellon University
* All rights reserved. The CMU software License Agreement specifies
* the terms and conditions for use and redistribution.
*/
/*
* HISTORY
* $Log: policy.h,v $
* 22-Mar-90 Gregg Kellogg (gk) at NeXT
* Added POLICY_INTERACTIVE for interactive threads.
*
* Revision 2.3 89/10/15 02:05:50 rpd
* Minor cleanups.
*
* Revision 2.2 89/10/11 14:40:53 dlb
* Cleanup changes.
* [89/08/02 dlb]
*
* Revision 2.1.1.2 89/08/02 23:12:03 dlb
* Cleanup changes.
* [89/08/02 dlb]
*
* Revision 2.1.1.1 89/07/25 18:47:00 dlb
* Created.
*
*/
#ifndef _MACH_POLICY_H_
#define _MACH_POLICY_H_
/*
* mach/policy.h
*
* Definitions for scheduing policy.
*/
/*
* Policy definitions. Policies must be powers of 2.
*/
#define POLICY_TIMESHARE 1
#define POLICY_FIXEDPRI 2
#define POLICY_INTERACTIVE 4
#define POLICY_LAST 4
#define invalid_policy(policy) (((policy) <= 0) || ((policy) > POLICY_LAST))
#endif _MACH_POLICY_H_