NAME

set_heart_beat() - enable or disable an object's heartbeat

SYNOPSIS

int set_heart_beat(int flag);

DESCRIPTION

Enable (flag == 1) or disable heart beat (flag == 0). If the heart beat is not needed for the moment, then do disable it. This will reduce system overhead.

Return true for success, and false for failure. Specifically, it will fail if the heart beat function has been disabled, which it will be if there is a run time error in the object.

SEE ALSO

heart_beat(4) .