… | |
… | |
151 | #endif |
151 | #endif |
152 | |
152 | |
153 | /**/ |
153 | /**/ |
154 | |
154 | |
155 | #define MIN_TIMEJUMP 1. /* minimum timejump that gets detected (if monotonic clock available) */ |
155 | #define MIN_TIMEJUMP 1. /* minimum timejump that gets detected (if monotonic clock available) */ |
156 | #define MAX_BLOCKTIME 59.731 /* never wait longer than this time (to detect time jumps) */ |
156 | #define MAX_BLOCKTIME 59.743 /* never wait longer than this time (to detect time jumps) */ |
157 | #define PID_HASHSIZE 16 /* size of pid hash table, must be power of two */ |
157 | #define PID_HASHSIZE 16 /* size of pid hash table, must be power of two */ |
158 | /*#define CLEANUP_INTERVAL 300. /* how often to try to free memory and re-check fds */ |
158 | /*#define CLEANUP_INTERVAL (MAX_BLOCKTIME * 5.) /* how often to try to free memory and re-check fds */ |
159 | |
159 | |
160 | #ifdef EV_H |
160 | #ifdef EV_H |
161 | # include EV_H |
161 | # include EV_H |
162 | #else |
162 | #else |
163 | # include "ev.h" |
163 | # include "ev.h" |