Results 1 to 3 of 3

Thread: Watchdog Timer

  1. #1
    Join Date
    Dec 2007
    Posts
    6
    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
    Location
    Bastrop, Texas
    Posts
    978
    Post Thanks / Like

    Default Re: Watchdog Timer

    Wow, too much information without a history...

    Can you break it down?
    Bob
    ----
    I love the smell of solder flux in the morning....smells like Christmas magic...[URL="http://photobucket.com/setup-2008"]Set up Done!![/URL] [URL="http://www.vimeo.com/rlilly/videos"]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
    Location
    Ft. Worth, TX
    Posts
    482
    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

Bookmarks

Posting Permissions

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