Computer science frequently employs the concept of a watchdog—an entity whose responsibility is to ensure the correct function, or handling of incorrect functions, in another entity. A common pattern is the watchdog timer, usually responsible for making sure that another task completes in a reasonable time.
Console Application
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace pr9
{
class Program
{
static void [...]
Filed under: Threading | Tagged: Thread, Timer, Watchdog | Leave a Comment »