mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-12 05:32:42 -04:00
1955. [bug] Pre-allocate the cache cleaning interator. [RT #14998]
Fix the CLEANER_IDLE macro to make this change complete. [RT #15815]
This commit is contained in:
parent
5d84c263be
commit
2bd93028f2
1 changed files with 1 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: cache.c,v 1.45.2.9 2006/01/06 00:01:41 marka Exp $ */
|
||||
/* $Id: cache.c,v 1.45.2.10 2006/01/26 23:11:39 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -65,7 +65,6 @@ typedef enum {
|
|||
* Convenience macros for comprehensive assertion checking.
|
||||
*/
|
||||
#define CLEANER_IDLE(c) ((c)->state == cleaner_s_idle && \
|
||||
(c)->iterator == NULL && \
|
||||
(c)->resched_event != NULL)
|
||||
#define CLEANER_BUSY(c) ((c)->state == cleaner_s_busy && \
|
||||
(c)->iterator != NULL && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue