… | … | ||
---|---|---|---|
1398 | extern unsigned long todtick; | 1398 | extern unsigned long todtick; |
1399 | 1399 | ||
1400 | void | 1400 | void |
1401 | do_specials (void) | 1401 | do_specials (void) |
1402 | { | 1402 | { |
1403 | |||
1404 | #ifdef WATCHDOG | ||
1405 | if (!(pticks % 503)) | ||
1406 | watchdog (); | ||
1407 | #endif | ||
1408 | |||
1409 | if (!(pticks % PTICKS_PER_CLOCK)) | 1403 | if (!(pticks % PTICKS_PER_CLOCK)) |
1410 | tick_the_clock (); | 1404 | tick_the_clock (); |
1411 | 1405 | ||
1412 | if (!(pticks % 7)) | 1406 | if (!(pticks % 7)) |
1413 | shstr::gc (); | 1407 | shstr::gc (); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |