Annotation of coherent/a/usr/include/sys/sched.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Version 3.0
                      3:  *     Copyright (c) 1982, 1990 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: /*
                      7:  * Scheduling parameters.
                      8:  * These are identical to the pdp11 parameters except that there is no MAP
                      9:  * parameter for claiming the unibus map.
                     10:  */
                     11: #ifndef         SCHED_H
                     12: #define        SCHED_H SCHED_H
                     13: 
                     14: /*
                     15:  * Update parameters.  All values are in ticks.  The processor value
                     16:  * update interval is always 1.
                     17:  */
                     18: #define        NCRTICK (HZ/10)                 /* Processor time slice */
                     19: #define        NSUTICK (HZ/6)                  /* Swap value update interval */
                     20: #define        NSRTICK (HZ/2)                  /* Swap run update interval */
                     21: 
                     22: /*
                     23:  * Values.
                     24:  */
                     25: #define CVNOSIG        256                     /* Lower priorities can interrupt */
                     26: #define CVCLOCK        1                       /* Core value update */
                     27: #define        SVCLOCK 16                      /* Swap value update */
                     28: 
                     29: /*
                     30:  * Child process.
                     31:  */
                     32: #define CVCHILD        32767                   /* Initial child core value */
                     33: #define IVCHILD        16                      /* Importance */
                     34: #define SVCHILD        4096                    /* Initial child swap value */
                     35: #define RVCHILD        0                       /* Response value */
                     36: 
                     37: /*
                     38:  * Swapper.
                     39:  */
                     40: #define        CVSWAP  256
                     41: #define        IVSWAP  0
                     42: #define        SVSWAP  0
                     43: 
                     44: /*
                     45:  * Waiting for block I/O to complete.
                     46:  */
                     47: #define CVBLKIO        32767
                     48: #define IVBLKIO        32767
                     49: #define        SVBLKIO 0
                     50: 
                     51: /*
                     52:  * Waiting for a gate to open.
                     53:  */
                     54: #define        CVGATE  16384
                     55: #define IVGATE 3
                     56: #define SVGATE 0
                     57: 
                     58: /*
                     59:  * Terminal output.
                     60:  */
                     61: #define        CVTTOUT 256
                     62: #define        IVTTOUT 0
                     63: #define SVTTOUT        0
                     64: 
                     65: /*
                     66:  * Waiting for free clists.
                     67:  */
                     68: #define CVCLIST        256
                     69: #define IVCLIST        0
                     70: #define SVCLIST        0
                     71: 
                     72: /*
                     73:  * Process trace.
                     74:  */
                     75: #define CVPTSET        256
                     76: #define IVPTSET        0
                     77: #define SVPTSET        0
                     78: 
                     79: /*
                     80:  * Process trace stop.
                     81:  */
                     82: #define CVPTRET        256
                     83: #define IVPTRET        0
                     84: #define SVPTRET        0
                     85: 
                     86: /*
                     87:  * Waiting for a pipe.
                     88:  */
                     89: #define CVPIPE 0
                     90: #define IVPIPE 0
                     91: #define SVPIPE 0
                     92: 
                     93: /*
                     94:  * Terminal input.
                     95:  */
                     96: #define CVTTIN 255
                     97: #define IVTTIN 1
                     98: #define SVTTIN 32767
                     99: 
                    100: /*
                    101:  * Pause.
                    102:  */
                    103: #define CVPAUSE        0
                    104: #define IVPAUSE        -64
                    105: #define SVPAUSE        0
                    106: 
                    107: /*
                    108:  * Wait.
                    109:  */
                    110: #define CVWAIT 128
                    111: #define IVWAIT -128
                    112: #define SVWAIT 4096
                    113: 
                    114: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.