Update to new Lck_CondWait() signature in varnish-cache

parent 6098bf5e
......@@ -719,7 +719,7 @@ push_subreq(struct req *req, struct bytes_tree *tree,
if (node->subreq.done == 0)
AZ(Lck_CondWait(
&node->subreq.cond,
&tree->tree_lock, 0));
&tree->tree_lock));
Lck_Unlock(&tree->tree_lock);
}
......
......@@ -207,7 +207,7 @@ vped_task(struct worker *wrk, void *priv)
if (!pesi->woken) {
VSLb(req->vsl, SLT_Debug, "Waiting for busyobj");
(void)Lck_CondWait(
&wrk->cond, &req->sp->mtx, 0);
&wrk->cond, &req->sp->mtx);
VSLb(req->vsl, SLT_Debug, "busyobj wakeup");
}
Lck_Unlock(&req->sp->mtx);
......@@ -835,7 +835,7 @@ vdp_pesi_fini(struct vdp_ctx *vdc, void **priv)
Lck_Lock(&pesi_tree->task_lock);
if (pesi_tree->task_running > 0)
AZ(Lck_CondWait(&pesi_tree->task_cond,
&pesi_tree->task_lock, 0));
&pesi_tree->task_lock));
Lck_Unlock(&pesi_tree->task_lock);
}
......@@ -1127,7 +1127,7 @@ vdp_pesi_bytes(struct vdp_ctx *vdx, enum vdp_action act, void **priv,
tree->root->state,
tree->npending);
AZ(Lck_CondWait(&tree->cond,
&tree->tree_lock, 0));
&tree->tree_lock));
tree_deliver(vdx, tree);
}
if (! tree->end_sent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment