mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
[master] fix portability issue
This commit is contained in:
@@ -20,7 +20,7 @@ void
|
|||||||
isc_thread_setconcurrency(unsigned int level);
|
isc_thread_setconcurrency(unsigned int level);
|
||||||
|
|
||||||
void
|
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_self() ((unsigned long)0)
|
||||||
#define isc_thread_yield() ((void)0)
|
#define isc_thread_yield() ((void)0)
|
||||||
|
@@ -31,7 +31,7 @@ typedef isc_threadresult_t (*isc_threadfunc_t)(isc_threadarg_t);
|
|||||||
typedef pthread_key_t isc_thread_key_t;
|
typedef pthread_key_t isc_thread_key_t;
|
||||||
|
|
||||||
isc_result_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
|
void
|
||||||
isc_thread_setconcurrency(unsigned int level);
|
isc_thread_setconcurrency(unsigned int level);
|
||||||
@@ -40,7 +40,7 @@ void
|
|||||||
isc_thread_yield(void);
|
isc_thread_yield(void);
|
||||||
|
|
||||||
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... */
|
/* XXX We could do fancier error handling... */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user