git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1041
d4fa192b-c00b-0410-8231-
f00ffab90ce4
w->wrq = TAILQ_FIRST(&qp->req);
AN(w->wrq);
TAILQ_REMOVE(&qp->req, w->wrq, list);
- VSL_stats->n_wrk_queue--;
UNLOCK(&qp->mtx);
wrk_do_one(w);
LOCK(&qp->mtx);
}
TAILQ_INSERT_TAIL(&qp->req, &sp->workreq, list);
- VSL_stats->n_wrk_queue++;
qp->overflow++;
UNLOCK(&qp->mtx);
LOCK(&tmtx);
+ VSL_stats->n_wrk_queue++;
/* Can we create more threads ? */
if (VSL_stats->n_wrk >= params->wthread_max) {
VSL_stats->n_wrk_max++;