From 4603e0d2b49e7ab488698a22b7831d3f3f113166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Mon, 22 Feb 2016 17:45:21 +0100 Subject: kernel: Add heart options documentation --- lib/kernel/doc/src/heart.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'lib/kernel') diff --git a/lib/kernel/doc/src/heart.xml b/lib/kernel/doc/src/heart.xml index f32b74dc24..a4569b5fb8 100644 --- a/lib/kernel/doc/src/heart.xml +++ b/lib/kernel/doc/src/heart.xml @@ -182,6 +182,34 @@ + + + Set a list of options + +

Valid options set_options are:

+ + scheduler + +

If enabled, a message will be sent to each scheduler to check its + responsiveness. The system check occurs before any heartbeat sent + to the port program. If any scheduler is not responsive enough the + heart program will not receive its heartpeat and terminate the node. +

+
+
+

Returns with the value ok if the options are valid.

+
+
+ + + Get the temporary reboot command + +

Returns {ok, Options} where Options is a list of current options enabled for heart. + If the callback is cleared, none will be returned.

+
+
+ + -- cgit v1.2.3