aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_threads.c')
-rw-r--r--src/microhttpd/mhd_threads.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/microhttpd/mhd_threads.c b/src/microhttpd/mhd_threads.c
index 7291bfef..96182965 100644
--- a/src/microhttpd/mhd_threads.c
+++ b/src/microhttpd/mhd_threads.c
@@ -173,11 +173,13 @@ MHD_set_thread_name_ (const MHD_thread_ID_ thread_id,
173/** 173/**
174 * Create a thread and set the attributes according to our options. 174 * Create a thread and set the attributes according to our options.
175 * 175 *
176 * If thread is created, thread handle must be freed by MHD_join_thread_().
177 *
176 * @param thread handle to initialize 178 * @param thread handle to initialize
177 * @param stack_size size of stack for new thread, 0 for default 179 * @param stack_size size of stack for new thread, 0 for default
178 * @param start_routine main function of thread 180 * @param start_routine main function of thread
179 * @param arg argument for start_routine 181 * @param arg argument for start_routine
180 * @return non-zero on success; zero otherwise (with errno set) 182 * @return non-zero on success; zero otherwise
181 */ 183 */
182int 184int
183MHD_create_thread_ (MHD_thread_handle_ID_ *thread, 185MHD_create_thread_ (MHD_thread_handle_ID_ *thread,