home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 9.ddi / usr / include / sys / tspriocntl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.1 KB  |  47 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _SYS_TSPRIOCNTL_H
  11. #define _SYS_TSPRIOCNTL_H
  12.  
  13. #ident    "@(#)/usr/include/sys/tspriocntl..sl 1.1 4.0 12/08/90 8289 AT&T-USL"
  14. /*
  15.  * Time-sharing class specific structures for the priocntl system call.
  16.  */
  17.  
  18. typedef struct tsparms {
  19.     short    ts_uprilim;    /* user priority limit */
  20.     short    ts_upri;    /* user priority */
  21. } tsparms_t;
  22.  
  23.  
  24. typedef struct tsinfo {
  25.     short    ts_maxupri;    /* configured limits of user priority range */
  26. } tsinfo_t;
  27.  
  28. #define    TS_NOCHANGE    -32768
  29.  
  30. /*
  31.  * The following is used by the dispadmin(1M) command for
  32.  * scheduler administration and is not for general use.
  33.  */
  34.  
  35. typedef struct tsadmin {
  36.     struct tsdpent    *ts_dpents;
  37.     short        ts_ndpents;
  38.     short        ts_cmd;
  39. } tsadmin_t;
  40.  
  41. #define    TS_GETDPSIZE    1
  42. #define    TS_GETDPTBL    2
  43. #define    TS_SETDPTBL    3
  44.  
  45.  
  46. #endif    /* _SYS_TSPRIOCNTL_H */
  47.