diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-08 13:25:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-08 13:25:18 +0200 |
commit | 14795c8cdcf6a15e369736be955c8a8a21495f88 (patch) | |
tree | 85c793a480118c060436b8d9f6e56cb450540f6c /doc | |
parent | move reconnect_to_display todo into todo file (diff) | |
download | mds-14795c8cdcf6a15e369736be955c8a8a21495f88.tar.gz mds-14795c8cdcf6a15e369736be955c8a8a21495f88.tar.bz2 mds-14795c8cdcf6a15e369736be955c8a8a21495f88.tar.xz |
add received_danger
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/info/mds.texinfo | 10 |
1 files changed, 10 insertions, 0 deletions
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 |