aboutsummaryrefslogtreecommitdiff
path: root/src/lib/daemon_options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/daemon_options.c')
-rw-r--r--src/lib/daemon_options.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/daemon_options.c b/src/lib/daemon_options.c
index 7839cad2..4d7bbdf1 100644
--- a/src/lib/daemon_options.c
+++ b/src/lib/daemon_options.c
@@ -533,17 +533,17 @@ MHD_daemon_gnutls_key_and_cert_from_callback (struct MHD_Daemon *daemon,
533 533
534 534
535/** 535/**
536 * Specify threading model to use. 536 * Specify threading mode to use.
537 * 537 *
538 * @param daemon daemon to configure 538 * @param daemon daemon to configure
539 * @param tm model to use (positive values indicate the 539 * @param tm mode to use (positive values indicate the
540 * number of worker threads to be used) 540 * number of worker threads to be used)
541 */ 541 */
542void 542void
543MHD_daemon_threading_model (struct MHD_Daemon *daemon, 543MHD_daemon_threading_mode (struct MHD_Daemon *daemon,
544 enum MHD_ThreadingModel tm) 544 enum MHD_ThreadingMode tm)
545{ 545{
546 daemon->threading_model = tm; 546 daemon->threading_mode = tm;
547} 547}
548 548
549 549
@@ -628,7 +628,7 @@ MHD_daemon_connection_memory_limit (struct MHD_Daemon *daemon,
628 628
629/** 629/**
630 * Desired size of the stack for threads created by MHD. Use 0 for 630 * Desired size of the stack for threads created by MHD. Use 0 for
631 * system default. Only useful if the selected threading model 631 * system default. Only useful if the selected threading mode
632 * is not #MHD_TM_EXTERNAL_EVENT_LOOP. 632 * is not #MHD_TM_EXTERNAL_EVENT_LOOP.
633 * 633 *
634 * @param daemon daemon to configure 634 * @param daemon daemon to configure