home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 March B
/
SCO_CASTOR4RRT.iso
/
cmds
/
root.3
/
usr
/
include
/
sys
/
fcpriocntl.h
/
fcpriocntl
Wrap
Text File
|
1998-08-19
|
2KB
|
65 lines
/*
* Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved.
*
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE
* SANTA CRUZ OPERATION INC.
*
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
*/
#ifndef _PROC_CLASS_FCPRIOCNTL_H /* wrapper symbol for kernel use */
#define _PROC_CLASS_FCPRIOCNTL_H /* subject to change without notice */
#ident "@(#)kern:proc/class/fcpriocntl.h 1.2.2.1"
#ident "$Header: $"
#if defined(__cplusplus)
extern "C" {
#endif
/*
* Fixed class specific structures for the priocntl system call.
*/
typedef struct fcparms {
short fc_uprilim; /* user priority limit */
short fc_upri; /* user priority */
long fc_timeleft; /* time-left for this lwp */
short fc_cpupri; /* the assigned cpu priority */
short fc_umdpri; /* the computed user mode priority */
} fcparms_t;
typedef struct fcinfo {
short fc_maxupri; /* configured limits of user priority range */
} fcinfo_t;
#define FC_NOCHANGE -1
/*
* The following is used by the dispadmin(1M) command for
* scheduler administration and is not for general use.
*/
typedef struct fcadmin {
struct fcdpent *fc_dpents;
short fc_ndpents;
short fc_cmd;
} fcadmin_t;
#define FC_GETDPSIZE 1
#define FC_GETDPTBL 2
#define FC_SETDPTBL 3
/* Enhanced Application Compatibility Support */
#define SCO_FC_MIN_PRI 0
/* Enhanced Application Compatibility Support */
#if defined(__cplusplus)
}
#endif
#endif /* _PROC_CLASS_FCPRIOCNTL_H */