'name' should be on isc_thread_setname argument not isc_thread_create
(cherry picked from commit 15471a63a2)
This commit is contained in:
@@ -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... */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user