FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kSvNode_NotifyShutdown ( kSvNode  node,
kBool  restartApp 
)

This function can be called to initiate application restart/shutdown, causing a pending call to the kSvNode_WaitForShutdown function to return.

Application restarts enable information from error-checking that normally occurs during shutdown to be preserved so that it can be accessed after restart. It can also be used (with some risk) as a faster form of reset when debugging. Application restarts may not be supported on every platform. If this feature is not supported, this method has no effect.

This method is thread safe.

See also
kSvNode_WaitForShutdown
Parameters
nodeNode object.
restartAppSpecifies whether the appication should restart (use kFALSE to reboot the device).
Returns
Operation status.