sam_stop (3) Linux Manual Page
sam_stop – Stop health checking
Synopsis
#include <corosync/sam.h>
cs_error_t sam_stop (void);
Description
The sam_stop function is used to stop health checking of an active process. After calling this function, the application no longer should send helathchecks. In the case of event driven healthchecking, the healthchecking thread will be stopped. A process can always start health checking again by calling sam_start(3) function.
Return Value
This call return CS_OK value if successful, otherwise and error is returned.
Errors
- CS_ERR_BAD_HANDLE
- health checking was not started by calling
sam_start(3)function.See Also
sam_start(3)CS_ERR_TRY_AGAINResource temporarily unavailableCS_ERR_INVALID_PARAMInvalid argumentCS_ERR_ACCESSPermission deniedCS_ERR_LIBRARYThe connection failedCS_ERR_INTERRUPTSystem call inturrupted by a signalCS_ERR_NOT_SUPPORTEDThe requested protocol/functuality not supportedCS_ERR_MESSAGE_ERRORIncorrect auth message receivedCS_ERR_NO_MEMORYNot enough memory to completed the requested task
