aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/libmicrohttpd.texi2
-rw-r--r--src/microhttpd/daemon.c4
-rw-r--r--src/testcurl/Makefile.am4
-rw-r--r--src/testcurl/https/Makefile.am4
-rw-r--r--src/testzzuf/Makefile.am4
5 files changed, 7 insertions, 11 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index 0776dace..851f23cc 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -277,7 +277,7 @@ do not include epoll support, even if it supported (minimally smaller binary siz
277@item ``--enable-coverage'' 277@item ``--enable-coverage''
278set flags for analysis of code-coverage with gcc/gcov (results in slow, large binaries) 278set flags for analysis of code-coverage with gcc/gcov (results in slow, large binaries)
279 279
280@item ``--with-threads={posix,w32,none,auto}'' 280@item ``--with-threads=posix,w32,none,auto''
281sets threading library to use. With use ``none'' to not support threads. In this case, MHD will only support the ``external'' threading modes and not perform any locking of data structures! Use @code{MHD_is_feature_supported(MHD_FEATURE_THREADS)} to test if threads are available. Default is ``auto''. 281sets threading library to use. With use ``none'' to not support threads. In this case, MHD will only support the ``external'' threading modes and not perform any locking of data structures! Use @code{MHD_is_feature_supported(MHD_FEATURE_THREADS)} to test if threads are available. Default is ``auto''.
282 282
283@item ``--with-gcrypt=PATH'' 283@item ``--with-gcrypt=PATH''
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 926a983e..2c162def 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -5745,12 +5745,8 @@ MHD_start_daemon_va (unsigned int flags,
5745#endif 5745#endif
5746#endif 5746#endif
5747 5747
5748<<<<<<< HEAD
5749 /* Thread pooling currently works only with internal select thread mode */ 5748 /* Thread pooling currently works only with internal select thread mode */
5750=======
5751 /* Thread pooling currently works only with internal select thread model */
5752#if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS) 5749#if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS)
5753>>>>>>> add build option to compile MHD without threads
5754 if ( (0 == (*pflags & MHD_USE_INTERNAL_POLLING_THREAD)) && 5750 if ( (0 == (*pflags & MHD_USE_INTERNAL_POLLING_THREAD)) &&
5755 (daemon->worker_pool_size > 0) ) 5751 (daemon->worker_pool_size > 0) )
5756 { 5752 {
diff --git a/src/testcurl/Makefile.am b/src/testcurl/Makefile.am
index 3e703772..e564241c 100644
--- a/src/testcurl/Makefile.am
+++ b/src/testcurl/Makefile.am
@@ -82,11 +82,11 @@ endif
82endif 82endif
83 83
84if USE_POSIX_THREADS 84if USE_POSIX_THREADS
85check_PROGRAMS += 85check_PROGRAMS += \
86 $(THREAD_ONLY_TESTS) 86 $(THREAD_ONLY_TESTS)
87endif 87endif
88if USE_W32_THREADS 88if USE_W32_THREADS
89check_PROGRAMS += 89check_PROGRAMS += \
90 $(THREAD_ONLY_TESTS) 90 $(THREAD_ONLY_TESTS)
91endif 91endif
92 92
diff --git a/src/testcurl/https/Makefile.am b/src/testcurl/https/Makefile.am
index 7454ab06..2ea8e2d7 100644
--- a/src/testcurl/https/Makefile.am
+++ b/src/testcurl/https/Makefile.am
@@ -38,11 +38,11 @@ check_PROGRAMS = \
38 test_https_get_select 38 test_https_get_select
39 39
40if USE_POSIX_THREADS 40if USE_POSIX_THREADS
41check_PROGRAMS += 41check_PROGRAMS += \
42 $(THREAD_ONLY_TESTS) 42 $(THREAD_ONLY_TESTS)
43endif 43endif
44if USE_W32_THREADS 44if USE_W32_THREADS
45check_PROGRAMS += 45check_PROGRAMS += \
46 $(THREAD_ONLY_TESTS) 46 $(THREAD_ONLY_TESTS)
47endif 47endif
48 48
diff --git a/src/testzzuf/Makefile.am b/src/testzzuf/Makefile.am
index be31bad2..cb776891 100644
--- a/src/testzzuf/Makefile.am
+++ b/src/testzzuf/Makefile.am
@@ -29,11 +29,11 @@ check_PROGRAMS = \
29 test_put_large11 29 test_put_large11
30 30
31if USE_POSIX_THREADS 31if USE_POSIX_THREADS
32check_PROGRAMS += 32check_PROGRAMS += \
33 $(THREAD_ONLY_TESTS) 33 $(THREAD_ONLY_TESTS)
34endif 34endif
35if USE_W32_THREADS 35if USE_W32_THREADS
36check_PROGRAMS += 36check_PROGRAMS += \
37 $(THREAD_ONLY_TESTS) 37 $(THREAD_ONLY_TESTS)
38endif 38endif
39 39