Annotation of coherent/d/PS2_KERNEL/include/sys/timeout.h, revision 1.1

1.1     ! root        1: /* (-lgl
        !             2:  *     COHERENT Version 4.0
        !             3:  *     Copyright (c) 1982, 1992 by Mark Williams Company.
        !             4:  *     All rights reserved. May not be copied without permission.
        !             5:  -lgl) */
        !             6: /*
        !             7:  * Timeout queue header.
        !             8:  */
        !             9: #ifndef         TIMEOUT_H
        !            10: #define         TIMEOUT_H
        !            11: #include <sys/types.h>
        !            12: #ifdef _I386
        !            13: #include <sys/reg.h>
        !            14: #else
        !            15: #include <sys/machine.h>
        !            16: #endif
        !            17: 
        !            18: /*
        !            19:  * Timer queue.
        !            20:  */
        !            21: typedef struct tim {
        !            22:        struct   tim *t_next;           /* Pointer to next */
        !            23:        struct   tim *t_last;           /* Pointer to last */
        !            24:        long     t_lbolt;               /* Clock tick at which timeout occurs */
        !            25:        int      (*t_func)();           /* Function to be called */
        !            26:        char     *t_farg;               /* Argument */
        !            27: #ifndef _I386
        !            28:        faddr_t   t_ldrv;               /* Loadable driver function */
        !            29: #endif
        !            30: } TIM;
        !            31: 
        !            32: #ifdef  KERNEL
        !            33: /*
        !            34:  * Global variables.
        !            35:  */
        !            36: extern TIM *   timq[256];              /* Timer queues */
        !            37: 
        !            38: #endif
        !            39: 
        !            40: #endif

unix.superglobalmegacorp.com

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