Annotation of xinu/h/sleep.h, revision 1.1

1.1     ! root        1: /* sleep.h */
        !             2: 
        !             3: #define        CVECTOR ((int *)0xc0)   /* location of clock interrupt vector   */
        !             4: #define        STRTCLK 0x51            /* value to load, start interval clock  */
        !             5: #define        CLKINTVL 100000         /* microseconds in one clock tick       */
        !             6: #define STRTUCLK 0x40          /* value to enable Microvax rt clock    */
        !             7: 
        !             8: extern int     clkruns;        /* 1 iff clock exists; 0 otherwise      */
        !             9:                                /* Set at system startup.               */
        !            10: extern int     clockq;         /* q index of sleeping process list     */
        !            11: extern int     count10;        /* used to ignore 9 of 10 ticks         */
        !            12: extern short   *sltop;         /* address of first key on clockq       */
        !            13: extern int     slnempty;       /* 1 iff clockq is nonempty             */
        !            14: 
        !            15: extern int     defclk;         /* >0 iff clock interrupts are deferred */
        !            16: extern int     clkdiff;        /* number of clock ticks deferred       */
        !            17: extern long    clktime;        /* time in seconds since 1/1/1970       */
        !            18: extern int     clmutex;        /* mutual exclusion for time of day     */
        !            19: extern int     tickctr;        /* count of 10ths of seconds 10-0       */
        !            20: extern int     clkint();       /* clock interrupt handler              */

unix.superglobalmegacorp.com

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