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