| 114 | } |
| 115 | |
| 116 | void |
| 117 | tmr_init(void) |
| 118 | { |
| 119 | int h; |
| 120 | |
| 121 | mstimeout_cache = -1; |
| 122 | for (h = 0; h < HASH_SIZE; ++h) |
| 123 | timers[h] = (Timer *)0; |
| 124 | } |
| 125 | |
| 126 | Timer * |
| 127 | tmr_create(struct timeval *nowP, TimerProc *timer_proc, ClientData client_data, long msecs, int periodic) |