Results 1 to 3 of 3

Thread: Watchdog Timer

  1. #1
    Join Date
    Dec 2007
    Post Thanks / Like

    Default Watchdog Timer

    This is an improvement taken from embedded programming. I have had several problems with a custom plugin failing and causing Vixen to crash. The improvement would reset Vixen and the programs if a error occurs. It would generate an error log to allow you to check and see what error ocurred. This improvement would prevent having to do a manual reset every time an error occurs.

  2. #2
    Join Date
    Jan 2008
    Bastrop, Texas
    Post Thanks / Like

    Default Re: Watchdog Timer

    Wow, too much information without a history...

    Can you break it down?
    I love the smell of solder flux in the morning....smells like Christmas magic...[URL=""]Set up Done!![/URL] [URL=""]Showtime!![/URL]
    (for the fruit of light is found in all that is good and right and true) Ephesians5:9

  3. #3
    Join Date
    Oct 2007
    Ft. Worth, TX
    Post Thanks / Like

    Default Re: Watchdog Timer

    You can't have a watchdog timer from inside the process being watched.

    You'd need a separate process to do that. If you're into Win32 programming it's really not hard... obtain a handle to the process and wait for it to become signaled in WaitForSingleObject. When it becomes signaled, kick off a new instance of the process.

    You could probably do the same in the .NET framework by wading through a few abstractions.

    (Of course, in this case, a better solution would be to fix the problem with the custom plugin.)
    There sure as hell *are* user-serviceable parts inside!

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts