From: Mark Andrews Date: Mon, 26 Jun 2017 02:05:35 +0000 (+1000) Subject: 'name' should be on isc_thread_setname argument not isc_thread_create X-Git-Tag: v9.11.2b1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15471a63a24538f871541e36b320f3c4d4be8f1e;p=thirdparty%2Fbind9.git 'name' should be on isc_thread_setname argument not isc_thread_create --- diff --git a/lib/isc/pthreads/include/isc/thread.h b/lib/isc/pthreads/include/isc/thread.h index 2b43f9e5a29..30b79c9d611 100644 --- a/lib/isc/pthreads/include/isc/thread.h +++ b/lib/isc/pthreads/include/isc/thread.h @@ -31,7 +31,7 @@ typedef isc_threadresult_t (*isc_threadfunc_t)(isc_threadarg_t); typedef pthread_key_t isc_thread_key_t; isc_result_t -isc_thread_create(isc_threadfunc_t, isc_threadarg_t, isc_thread_t *name); +isc_thread_create(isc_threadfunc_t, isc_threadarg_t, isc_thread_t *); void isc_thread_setconcurrency(unsigned int level); @@ -40,7 +40,7 @@ void isc_thread_yield(void); void -isc_thread_setname(isc_thread_t thread, const char *); +isc_thread_setname(isc_thread_t thread, const char *name); /* XXX We could do fancier error handling... */