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

@@ -488,7 +488,7 @@ dispatch(isc_timermgr_t manager, isc_time_t now) {
}
}
static void *
static isc_threadresult_t
run(void *uap) {
isc_timermgr_t manager = uap;
struct isc_time now;
@@ -516,7 +516,7 @@ run(void *uap) {
}
UNLOCK(&manager->lock);
return (NULL);
return ((isc_threadresult_t)0);
}
static isc_boolean_t
@@ -628,7 +628,7 @@ isc_timermgr_destroy(isc_timermgr_t *managerp) {
/*
* Wait for thread to exit.
*/
if (isc_thread_join(manager->thread) != ISC_R_SUCCESS)
if (isc_thread_join(manager->thread, NULL) != ISC_R_SUCCESS)
UNEXPECTED_ERROR(__FILE__, __LINE__,
"isc_thread_join() failed");