libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 631a581657a7f2896f8b5ab7f1ea92c6997fc6c4
parent 52e995c0a7741967ab68883a63a8c7e70a4589ee
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Fri, 11 Nov 2016 13:44:36 +0300

mhd_threads.c: added missing comments about thread names on QNX

Diffstat:
Msrc/microhttpd/mhd_threads.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/microhttpd/mhd_threads.c b/src/microhttpd/mhd_threads.c @@ -96,6 +96,7 @@ MHD_set_thread_name_(const MHD_thread_ID_ thread_id, */ #define MHD_set_cur_thread_name_(n) MHD_set_thread_name_(pthread_self(),(n)) #else /* __QNXNTO__ */ +/* Special case for QNX Neutrino - using zero for thread ID sets name faster. */ #define MHD_set_cur_thread_name_(n) MHD_set_thread_name_(0,(n)) #endif /* __QNXNTO__ */ #elif defined(HAVE_PTHREAD_SETNAME_NP_DARWIN)