diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-08 14:38:45 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-08 14:38:45 +0200 |
commit | 3238ac1e732a9f34762aad61ac6fc20081bc4bb3 (patch) | |
tree | 0b38acecb688750c3a119208342c75c2a0aa6037 /doc | |
parent | derp, danger is volatile and atomic (diff) | |
download | mds-3238ac1e732a9f34762aad61ac6fc20081bc4bb3.tar.gz mds-3238ac1e732a9f34762aad61ac6fc20081bc4bb3.tar.bz2 mds-3238ac1e732a9f34762aad61ac6fc20081bc4bb3.tar.xz |
set danger in mds-base's receive_danger
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/info/mds.texinfo | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo index 0d721b8..18c1b9d 100644 --- a/doc/info/mds.texinfo +++ b/doc/info/mds.texinfo @@ -4162,10 +4162,10 @@ 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. +all memory it can spare. When this function is invoked, it +should set the variable @code{danger} to a non-zero value. +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 @@ -4280,6 +4280,9 @@ Whether the server has been signaled to terminate. @item @code{reexecing} [@code{volatile sig_atomic_t}] Whether the server has been signaled to re-execute. +@item @code{danger} [@code{volatile sig_atomic_t}] +Whether the server has been signaled to free unneeded memory. + @item @code{socket_fd} [@code{int}] The file descriptor of the socket that is connected to the server. |