SERVICE FUNCTIONS
enableProcessMonitor()
190 M
X
800 SERIES PROGRAMMERS GUIDE
enableProcessMonitor()
Enabling a process monitor causes the system to periodically check the health of
the calling process. If the process has exited, the system will detect the failure and
force a system reboot. The purpose of monitoring a process is to prevent the
terminal from hanging if a bug or unexpected event occurs causing a critical
process to exit.
Prototype
void enableProcessMonitor(void)
NOTE
• A maximum of 50 processes can be monitored at any time.
• If a process spawns processes the new processes will need to register
themselves if it is desired that they also be monitored.
WARNING
If a process naturally exits or is replaced, it is up to the application to call
disableProcessMonitor() prior to exiting. Otherwise, the system will
interpret that a failure has occurred and will force a reboot.