aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcoopgamma.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-15 08:25:54 +0200
committerMattias Andrée <maandree@kth.se>2016-07-15 08:26:00 +0200
commite2cacd65957ee63fb8fd6576cc392015eb4a411d (patch)
tree4b2a642585b8ebf8296c463cd026cd666381c3f6 /src/libcoopgamma.h
parentm (diff)
downloadlibcoopgamma-e2cacd65957ee63fb8fd6576cc392015eb4a411d.tar.gz
libcoopgamma-e2cacd65957ee63fb8fd6576cc392015eb4a411d.tar.bz2
libcoopgamma-e2cacd65957ee63fb8fd6576cc392015eb4a411d.tar.xz
Inform the user that SIGCHLD must not be ignored or blocked for some function
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/libcoopgamma.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libcoopgamma.h b/src/libcoopgamma.h
index d552799..9c33646 100644
--- a/src/libcoopgamma.h
+++ b/src/libcoopgamma.h
@@ -1014,6 +1014,8 @@ int libcoopgamma_context_unmarshal(libcoopgamma_context_t* restrict, const void*
/**
* List all recognised adjustment method
*
+ * SIGCHLD must not be ignored or blocked
+ *
* @return A `NULL`-terminated list of names. You should only free
* the outer pointer, inner pointers are subpointers of the
* outer pointer and cannot be freed. `NULL` on error.
@@ -1023,6 +1025,8 @@ char** libcoopgamma_get_methods(void);
/**
* Get the adjustment method and site
*
+ * SIGCHLD must not be ignored or blocked
+ *
* @param method The adjustment method, `NULL` for automatic
* @param site The site, `NULL` for automatic
* @param methodp Output pointer for the selected adjustment method,
@@ -1041,6 +1045,8 @@ int libcoopgamma_get_method_and_site(const char* restrict, const char* restrict,
/**
* Get the PID file of the coopgamma server
*
+ * SIGCHLD must not be ignored or blocked
+ *
* @param method The adjustment method, `NULL` for automatic
* @param site The site, `NULL` for automatic
* @return The pathname of the server's PID file, `NULL` on error
@@ -1052,6 +1058,8 @@ char* libcoopgamma_get_pid_file(const char* restrict, const char* restrict);
/**
* Get the socket file of the coopgamma server
*
+ * SIGCHLD must not be ignored or blocked
+ *
* @param method The adjustment method, `NULL` for automatic
* @param site The site, `NULL` for automatic
* @return The pathname of the server's socket, `NULL` on error
@@ -1068,6 +1076,8 @@ char* libcoopgamma_get_socket_file(const char* restrict, const char* restrict);
*
* Use `libcoopgamma_context_destroy` to disconnect
*
+ * SIGCHLD must not be ignored or blocked
+ *
* @param method The adjustment method, `NULL` for automatic
* @param site The site, `NULL` for automatic
* @param ctx The state of the library, must be initialised