diff options
author | Lukas Larsson <[email protected]> | 2016-06-07 09:45:01 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-06-07 09:45:01 +0200 |
commit | ac18b8705c78be8bec5bdc14c412af2ced740916 (patch) | |
tree | f6a0a03215e409bb82f3087d9363c06d593de16f /lib/kernel/doc | |
parent | d26c15e07229c90ba8353bd78d5406ada0f13271 (diff) | |
parent | 85996c92853e90cb233a1405b1c8c7bb1b8ca54e (diff) | |
download | otp-ac18b8705c78be8bec5bdc14c412af2ced740916.tar.gz otp-ac18b8705c78be8bec5bdc14c412af2ced740916.tar.bz2 otp-ac18b8705c78be8bec5bdc14c412af2ced740916.zip |
Merge branch 'dotsimon/erts/heart_no_kill/OTP-13650'
* dotsimon/erts/heart_no_kill/OTP-13650:
erts: make HEART_NO_KILL have to be set to TRUE
Don't kill old erlang if HEART_NO_KILL is set
Conflicts:
lib/kernel/doc/src/heart.xml
Diffstat (limited to 'lib/kernel/doc')
-rw-r--r-- | lib/kernel/doc/src/heart.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/kernel/doc/src/heart.xml b/lib/kernel/doc/src/heart.xml index c587e39345..864f8facac 100644 --- a/lib/kernel/doc/src/heart.xml +++ b/lib/kernel/doc/src/heart.xml @@ -83,6 +83,17 @@ <c><![CDATA[SIGKILL]]></c>:</p> <pre> % <input>erl -heart -env HEART_KILL_SIGNAL SIGABRT ...</input></pre> + <p> If heart should <b>not</b> kill the Erlang runtime system, this can be indicated + using the environment variable <c><![CDATA[HEART_NO_KILL=TRUE]]></c>. + This can be useful if the command executed by heart takes care of this, + for example as part of a specific cleanup sequence. + If unset, or not set to <c><![CDATA[TRUE]]></c>, the default behaviour + will be to kill as described above. + </p> + + <pre> +% <input>erl -heart -env HEART_NO_KILL 1 ...</input></pre> + <p>Furthermore, <c><![CDATA[ERL_CRASH_DUMP_SECONDS]]></c> has the following behavior on <c>heart</c>:</p> <taglist> |