Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
d918be4e
Unverified
Commit
d918be4e
authored
Oct 27, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to new Lck_CondWait() signature in varnish-cache
parent
6098bf5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
node.c
src/node.c
+1
-1
vdp_pesi.c
src/vdp_pesi.c
+3
-3
No files found.
src/node.c
View file @
d918be4e
...
...
@@ -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
);
}
...
...
src/vdp_pesi.c
View file @
d918be4e
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment