aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/microhttpd2.h')
-rw-r--r--src/include/microhttpd2.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h
index b7297fd3..5506d0c9 100644
--- a/src/include/microhttpd2.h
+++ b/src/include/microhttpd2.h
@@ -2266,9 +2266,9 @@ MHD_daemon_gnutls_key_and_cert_from_callback (struct MHD_Daemon *daemon,
2266 2266
2267 2267
2268/** 2268/**
2269 * Which threading model should be used by MHD? 2269 * Which threading mode should be used by MHD?
2270 */ 2270 */
2271enum MHD_ThreadingModel 2271enum MHD_ThreadingMode
2272{ 2272{
2273 2273
2274 /** 2274 /**
@@ -2306,21 +2306,21 @@ enum MHD_ThreadingModel
2306/** 2306/**
2307 * Use a thread pool of size @a n. 2307 * Use a thread pool of size @a n.
2308 * 2308 *
2309 * @return an `enum MHD_ThreadingModel` for a thread pool of size @a n 2309 * @return an `enum MHD_ThreadingMode` for a thread pool of size @a n
2310 */ 2310 */
2311#define MHD_TM_THREAD_POOL(n) ((enum MHD_ThreadingModel)(n)) 2311#define MHD_TM_THREAD_POOL(n) ((enum MHD_ThreadingMode)(n))
2312 2312
2313 2313
2314/** 2314/**
2315 * Specify threading model to use. 2315 * Specify threading mode to use.
2316 * 2316 *
2317 * @param daemon daemon to configure 2317 * @param daemon daemon to configure
2318 * @param tm model to use (positive values indicate the 2318 * @param tm mode to use (positive values indicate the
2319 * number of worker threads to be used) 2319 * number of worker threads to be used)
2320 */ 2320 */
2321_MHD_EXTERN void 2321_MHD_EXTERN void
2322MHD_daemon_threading_model (struct MHD_Daemon *daemon, 2322MHD_daemon_threading_mode (struct MHD_Daemon *daemon,
2323 enum MHD_ThreadingModel tm) 2323 enum MHD_ThreadingMode tm)
2324 MHD_NONNULL(1); 2324 MHD_NONNULL(1);
2325 2325
2326 2326
@@ -2470,7 +2470,7 @@ MHD_daemon_connection_memory_limit (struct MHD_Daemon *daemon,
2470 2470
2471/** 2471/**
2472 * Desired size of the stack for threads created by MHD. Use 0 for 2472 * Desired size of the stack for threads created by MHD. Use 0 for
2473 * system default. Only useful if the selected threading model 2473 * system default. Only useful if the selected threading mode
2474 * is not #MHD_TM_EXTERNAL_EVENT_LOOP. 2474 * is not #MHD_TM_EXTERNAL_EVENT_LOOP.
2475 * 2475 *
2476 * @param daemon daemon to configure 2476 * @param daemon daemon to configure