Hello Friends,
I am working on Embedded Linux application side. On my system we are running multiple processes, multiple threads with blocking system calls.
I want to use watchdog timer. which will monitor my system.
Currently on my board hardware watchdog is enabled. I am able to see file "/dev/watchdog" and on syslog file I am getting message "watchdog is enabled, Timeout time = 60s" .
My Queries are:
1) How I can use it in my Application Programs.
2) In my application program I am using number of Blocking system calls like Poll(), msgrcv() etc. How I can avoid watchdog restart in this case??
3) Which option is best for my requirement software watchdog or Hardware watchdog??
If any reference document or code is available then please share That also.
Thanks in advance
Vishal Rana