aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 197c5af8..5d99fa40 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -969,8 +969,10 @@ create_thread (pthread_t *thread,
969 ret = pthread_create (thread, pattr, 969 ret = pthread_create (thread, pattr,
970 start_routine, arg); 970 start_routine, arg);
971#if (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12) 971#if (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12)
972#if LINUX
972 (void) pthread_setname_np (*thread, "libmicrohttpd"); 973 (void) pthread_setname_np (*thread, "libmicrohttpd");
973#endif 974#endif
975#endif
974 if (0 != daemon->thread_stack_size) 976 if (0 != daemon->thread_stack_size)
975 pthread_attr_destroy (&attr); 977 pthread_attr_destroy (&attr);
976 return ret; 978 return ret;