T2-CPP/Mod Sources/Watchdog
2017-07-21 04:42:22 -04:00
..
Watchdog Remove junk files and update .gitignore 2016-01-18 21:39:58 -05:00
README.md Gave WatchDog a proper description 2015-06-27 13:39:52 -04:00
Watchdog.sln Restructured project structure to use a singular SLN; made the T2API common to all projects; adjusted watchdog timer to 8 seconds 2015-06-27 13:36:30 -04:00

WatchDog

A dog that watches your game. In essence, all it does is spawns a secondary thread that awaits to be "petted" by the main thread from its ServerProcess method. In the event that the main thread takes too long to pet the dog (by default, around 8 seconds), the entire process is terminated by the watchdog thread. Tribes 2 is apparently prone to a lot of lockups, many with no apparent cause. This Watchdog makes it possible for the game to detect that it has been caught in an infinite loop somewhere and could potentially be modified to take corrective action.