FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kHxNode_UpdateWatchdog ( kHxNode  node,
kRestartReason  reason 
)

Updates the watchdog status, optionally resetting the watchdog countdown timer.

If the reason argument is kRESTART_REASON_NONE, this method resets the watchdog countdown timer using the timeout period specified in the most recent call to kHxNode_EnableWatchdog. Otherwise, the reason code is logged (if suported by the underlying platform) and the device is allowed to reboot.

This method is thread safe.