… | … | ||
---|---|---|---|
149 | 149 | ||
150 | // used for initialisation only | 150 | // used for initialisation only |
151 | static struct init { | 151 | static struct init { |
152 | init () | 152 | init () |
153 | { | 153 | { |
154 | #ifdef IOM_PREINIT | ||
155 | { IOM_PREINIT } | ||
156 | #endif | ||
154 | iom_valid = true; | 157 | iom_valid = true; |
155 | 158 | ||
156 | #if IOM_SIG | 159 | #if IOM_SIG |
157 | sigemptyset (&sigs); | 160 | sigemptyset (&sigs); |
158 | 161 | ||
… | … | ||
172 | 175 | ||
173 | #if IOM_TIME | 176 | #if IOM_TIME |
174 | io_manager::set_now (); | 177 | io_manager::set_now (); |
175 | 178 | ||
176 | tw0.start (TSTAMP_MAX); | 179 | tw0.start (TSTAMP_MAX); |
180 | #endif | ||
181 | |||
182 | #ifdef IOM_POSTINIT | ||
183 | { IOM_POSTINIT } | ||
177 | #endif | 184 | #endif |
178 | } | 185 | } |
179 | 186 | ||
180 | ~init () | 187 | ~init () |
181 | { | 188 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |