From 14795c8cdcf6a15e369736be955c8a8a21495f88 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 8 Sep 2014 13:25:18 +0200 Subject: add received_danger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/mds.texinfo | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/info') diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo index 3c5e1ce..0d721b8 100644 --- a/doc/info/mds.texinfo +++ b/doc/info/mds.texinfo @@ -4157,6 +4157,16 @@ implementation if the server is multi-threaded. It sends the singal @code{signo} to all threads except the current thread. +@item @code{received_danger} [(@code{int signo}) @arrow{} @code{void}] +This function is called when a signal that signals the +system is running out of memory has been received. The exact +received signal is specified by the parameter @code{signo}. +When this function is invoked, the server should free up +all memory it can spare. If the server never has any memory +that could be freed this function does not been to be +overridden. If @code{server_characteristics.danger_is_deadly} +is set, this function will never be called. + @item @code{received_reexec} [(@code{int signo}) @arrow{} @code{void}] This function is called when a signal that signals the server to re-execute has been received. The exact -- cgit v1.2.3-70-g09d2