pullup: added DESTROYLOCK() macro (needed by dig pullup)

This commit is contained in:
Andreas Gustafsson
2000-09-21 23:14:21 +00:00
parent 8ea1b4334a
commit beb67541bf

View File

@@ -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", \