commit 36fa35cf04237467ad2acfeca3f8875764b99453
parent 660e7967fa1ce983917346d33205633496bde451
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 29 Apr 2020 16:42:00 +0200
Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -5992,7 +5992,7 @@ MHD_start_daemon_va (unsigned int flags,
#endif
#endif
- /* Thread pooling currently works only with internal select thread mode */
+ /* Thread polling currently works only with internal select thread mode */
#if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS)
if ( (0 == (*pflags & MHD_USE_INTERNAL_POLLING_THREAD)) &&
(daemon->worker_pool_size > 0) )
@@ -6000,7 +6000,7 @@ MHD_start_daemon_va (unsigned int flags,
#ifdef HAVE_MESSAGES
MHD_DLOG (daemon,
_ (
- "MHD thread pooling only works with MHD_USE_INTERNAL_POLLING_THREAD\n"));
+ "MHD thread polling only works with MHD_USE_INTERNAL_POLLING_THREAD\n"));
#endif
goto free_and_fail;
}
@@ -6488,7 +6488,7 @@ MHD_start_daemon_va (unsigned int flags,
struct MHD_Daemon *d = &daemon->worker_pool[i];
memcpy (d, daemon, sizeof (struct MHD_Daemon));
- /* Adjust pooling params for worker daemons; note that memcpy()
+ /* Adjust polling params for worker daemons; note that memcpy()
has already copied MHD_USE_INTERNAL_POLLING_THREAD thread mode into
the worker threads. */
d->master = daemon;