T2-CPP/Mod Sources/Watchdog
Calvin Balke 81a28fe3ba Added new Move Code
Added Move Code, TS callback, and commands to interface with Move code.
2015-07-06 10:01:22 -07:00
..
Watchdog Added new Move Code 2015-07-06 10:01:22 -07: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.suo 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.