1SAM_STOP(3) Corosync Cluster Engine Programmer's Manual SAM_STOP(3)
2
3
4
6 sam_stop - Stop health checking
7
8
10 #include <corosync/sam.h>
11
12
13 cs_error_t sam_stop (void);
14
15
17 The sam_stop function is used to stop health checking of an active
18 process. After calling this function, the application no longer should
19 send helathchecks. In the case of event driven healthchecking, the
20 healthchecking thread will be stopped.
21
22
23 A process can always start health checking again by calling
24 sam_start(3) function.
25
26
28 This call return CS_OK value if successful, otherwise and error is
29 returned.
30
31
33 CS_ERR_BAD_HANDLE
34 health checking was not started by calling sam_start(3) func‐
35 tion.
36
37
39 sam_start(3)
40
41
42
43corosync Man Page 12/01/2009 SAM_STOP(3)