[v9_10] fix portability issue

(cherry picked from commit 8ee6a6afd8)
This commit is contained in:
Evan Hunt
2017-04-21 18:16:24 -07:00
parent aba880a43e
commit 7687a76d0a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ void
isc_thread_setconcurrency(unsigned int level);
void
isc_thread_setname(isc_thread_t, const char *);
isc_thread_setname(isc_thread_t thread, const char *name);
#define isc_thread_self() ((unsigned long)0)
#define isc_thread_yield() ((void)0)
+2 -2
View File
@@ -40,7 +40,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 *);
isc_thread_create(isc_threadfunc_t, isc_threadarg_t, isc_thread_t *name);
void
isc_thread_setconcurrency(unsigned int level);
@@ -49,7 +49,7 @@ void
isc_thread_yield(void);
void
isc_thread_setname(isc_thread_t, const char *);
isc_thread_setname(isc_thread_t thread, const char *);
/* XXX We could do fancier error handling... */