Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
8f35a32d
Unverified
Commit
8f35a32d
authored
Mar 10, 2020
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also give the per-pool lock its own class
(see previous)
parent
0c645dbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
cache_pool.c
bin/varnishd/cache/cache_pool.c
+1
-1
locks.h
include/tbl/locks.h
+1
-0
No files found.
bin/varnishd/cache/cache_pool.c
View file @
8f35a32d
...
...
@@ -146,7 +146,7 @@ pool_mkpool(unsigned pool_no)
AN
(
pp
->
a_stat
);
pp
->
b_stat
=
calloc
(
1
,
sizeof
*
pp
->
b_stat
);
AN
(
pp
->
b_stat
);
Lck_New
(
&
pp
->
mtx
,
lck_
wq
);
Lck_New
(
&
pp
->
mtx
,
lck_
perpool
);
VTAILQ_INIT
(
&
pp
->
idle_queue
);
VTAILQ_INIT
(
&
pp
->
poolsocks
);
...
...
include/tbl/locks.h
View file @
8f35a32d
...
...
@@ -40,6 +40,7 @@ LOCK(hcb)
LOCK
(
lru
)
LOCK
(
mempool
)
LOCK
(
objhdr
)
LOCK
(
perpool
)
LOCK
(
pipestat
)
LOCK
(
probe
)
LOCK
(
sess
)
...
...
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