ham_heartbeat()

QNX SDP8.0High Availability Framework Developer's GuideDeveloper

Send a heartbeat to the HAM

Synopsis:

#include <ha/ham.h>

int ham_heartbeat( void );

Library:

libham

Description:

Self-attached entities that have committed to sending heartbeats at prescribed intervals need to call ham_heartbeat() when they want to transmit a heartbeat.

The ham_heartbeat() function does nothing if the client isn't a self-attached entity or hasn't committed to sending heartbeats.

Returns:

This function always succeeds.

Classification:

QNX OS

Safety:
Cancellation pointYes
Signal handlerYes
ThreadYes
Page updated: