sam_stop3
Stop health checking
Usage
#include <corosync/sam.h>
cs_error_t sam_stop (void);
Overview
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.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 2 times.