|
|
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 __SYS_TIMEOUT_H__
10: #define __SYS_TIMEOUT_H__
11:
12: #include <sys/types.h>
13: #ifdef _I386
14: #include <sys/reg.h>
15: #else
16: #include <sys/machine.h>
17: #endif
18:
19: /*
20: * Timer queue.
21: */
22: typedef struct tim {
23: struct tim *t_next; /* Pointer to next */
24: struct tim *t_last; /* Pointer to last */
25: long t_lbolt; /* Clock tick at which timeout occurs */
26: int (*t_func)(); /* Function to be called */
27: char *t_farg; /* Argument */
28: #ifndef _I386
29: faddr_t t_ldrv; /* Loadable driver function */
30: #endif
31: } TIM;
32:
33: #ifdef KERNEL
34: /*
35: * Global variables.
36: */
37: extern TIM * timq[256]; /* Timer queues */
38:
39: #endif
40:
41: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.