title: How to implement a watchdog timer in Delphi?
body: <p>I would like to implement a simple watchdog timer in Delphi XE 7 with two use cases:</p>
  
  <p>• Watchdog ensures that a operation doesn't execute longer than <code>x</code> seconds<br>
   • Watchdog ensures that when errors occur then message exception will be stored in log file</p>
  
  <p>Could you please suggest me any solution?</p>