Ive not used a watch dog since having to code in assembly years ago. For that work code architecture was procedural and simple so i could place a watch dog timer at the end of the main loop and expect if the code never got there it was time to reset…
That said, it only seems proper that this strategy be adjusted in a Threading environment.
It would seem proper to either place a watch dog in any thread and callback where i would want to monitor, or perhaps better place a call to service the watch dog in any thread and callback i would want to monitor.
As it seems plausible to me a thread might crash while others are still executing.
Do i have this thought process correct?