From beb67541bf104744bb0ac1a958df0da4417c7abf Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Thu, 21 Sep 2000 23:14:21 +0000 Subject: [PATCH] pullup: added DESTROYLOCK() macro (needed by dig pullup) --- lib/isc/include/isc/util.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/isc/include/isc/util.h b/lib/isc/include/isc/util.h index cae02bc4b50..05154e7fdf7 100644 --- a/lib/isc/include/isc/util.h +++ b/lib/isc/include/isc/util.h @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: util.h,v 1.13 2000/06/22 21:58:12 tale Exp $ */ +/* $Id: util.h,v 1.13.2.1 2000/09/21 23:14:21 gson Exp $ */ #ifndef ISC_UTIL_H #define ISC_UTIL_H 1 @@ -93,6 +93,9 @@ ISC_UTIL_TRACE(fprintf(stderr, "UNLOCKED %p %s %d\n", \ (lp), __FILE__, __LINE__)); \ } while (0) +#define ISLOCKED(lp) (1) +#define DESTROYLOCK(lp) \ + RUNTIME_CHECK(isc_mutex_destroy((lp)) == ISC_R_SUCCESS) #define BROADCAST(cvp) do { \ ISC_UTIL_TRACE(fprintf(stderr, "BROADCAST %p %s %d\n", \ -- 2.47.3