name MHD worker threads

This commit is contained in:
Christian Grothoff
2013-07-14 17:38:24 +00:00
parent 1c553e71a9
commit ccdf83cd04
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -1,3 +1,6 @@
Sun Jul 14 19:37:37 CEST 2013
Name MHD worker threads on glibc >= 2.12. -,L4X[o](B
Fri Jul 5 12:05:01 CEST 2013
Added MHD_OPTION_CONNECTION_MEMORY_INCREMENT to allow users
to specify a custom value for incrementing read buffer
+3
View File
@@ -939,6 +939,9 @@ create_thread (pthread_t *thread,
}
ret = pthread_create (thread, pattr,
start_routine, arg);
#if (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12)
(void) pthread_setname_np (*thread, "libmicrohttpd");
#endif
if (0 != daemon->thread_stack_size)
pthread_attr_destroy (&attr);
return ret;