2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00
This commit is contained in:
Bob Halley
1998-10-23 05:45:26 +00:00
parent 06bb37d18e
commit 6052dab738
2 changed files with 7 additions and 7 deletions

View File

@@ -37,7 +37,7 @@
ISC_R_SUCCESS);
#ifdef ISC_TASK_TRACE
#define XTRACE(m) printf("%s task %p thread %p\n", (m), \
#define XTRACE(m) printf("%s task %p thread %lu\n", (m), \
task, isc_thread_self())
#else
#define XTRACE(m)
@@ -434,8 +434,8 @@ isc_task_destroy(isc_task_t *taskp) {
*** Task Manager.
***/
static
void *run(void *uap) {
static isc_threadresult_t
run(void *uap) {
isc_taskmgr_t manager = uap;
isc_task_t task;
isc_boolean_t no_workers = ISC_FALSE;
@@ -676,7 +676,7 @@ void *run(void *uap) {
XTRACE("exit");
return (NULL);
return ((isc_threadresult_t)0);
}
static void