Resource Tuner
|
Responsible for checking if all clients are alive after a certain time interval. More...
#include <PulseMonitor.h>
Public Member Functions | |
ErrCode | startPulseMonitorDaemon () |
Starts the Pulse Monitor. | |
Responsible for checking if all clients are alive after a certain time interval.
It spawns a background thread which lists all alive processes in the system and compares them with the client list. If a clientPID doesn't exist in the system, it is cleaned up.
Definition at line 47 of file PulseMonitor.h.
ErrCode PulseMonitor::startPulseMonitorDaemon | ( | ) |
Starts the Pulse Monitor.
To start the pulse monitor a recurring timer is created by using a thread from the Thread Pool. This Thread will wake up periodically and check for dead clients and if found add them to the garbage collector queue.