From: phk Date: Mon, 12 Jan 2009 13:19:14 +0000 (+0000) Subject: don't overload the waiting list (yet), I suspect it causes #414b X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76ab6097cee1868ce098efea77d3f94e1ecf7644;p=varnish don't overload the waiting list (yet), I suspect it causes #414b git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3506 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/hash_slinger.h b/varnish-cache/bin/varnishd/hash_slinger.h index 4ae04b5d..d46830e1 100644 --- a/varnish-cache/bin/varnishd/hash_slinger.h +++ b/varnish-cache/bin/varnishd/hash_slinger.h @@ -78,12 +78,17 @@ struct objhead { char *hash; unsigned hashlen; unsigned char digest[DIGEST_LEN]; +#ifdef NOT_YET union { VTAILQ_HEAD(, sess) __u_waitinglist; VTAILQ_ENTRY(objhead) __u_coollist; } __u; #define waitinglist __u.__u_waitinglist #define coollist __u.__u_coollist +#else + VTAILQ_HEAD(, sess) waitinglist; + VTAILQ_ENTRY(objhead) coollist; +#endif /*---------------------------------------------------- * The fields below are for the sole private use of