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
33c2ac25
Commit
33c2ac25
authored
Dec 16, 2015
by
Poul-Henning Kamp
Committed by
Lasse Karstensen
Jan 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also make this debugging hash class' locks dynamic
parent
c153c932
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
hash_simple_list.c
bin/varnishd/hash/hash_simple_list.c
+3
-0
locks.h
include/tbl/locks.h
+0
-1
No files found.
bin/varnishd/hash/hash_simple_list.c
View file @
33c2ac25
...
...
@@ -35,6 +35,8 @@
#include "hash/hash_slinger.h"
static
struct
VSC_C_lck
*
lck_hsl
;
/*--------------------------------------------------------------------*/
static
VTAILQ_HEAD
(,
objhead
)
hsl_head
=
VTAILQ_HEAD_INITIALIZER
(
hsl_head
);
...
...
@@ -49,6 +51,7 @@ static void __match_proto__(hash_start_f)
hsl_start
(
void
)
{
lck_hsl
=
Lck_CreateClass
(
"hsl"
);
Lck_New
(
&
hsl_mtx
,
lck_hsl
);
}
...
...
include/tbl/locks.h
View file @
33c2ac25
...
...
@@ -35,7 +35,6 @@ LOCK(busyobj)
LOCK
(
cli
)
LOCK
(
exp
)
LOCK
(
hcb
)
LOCK
(
hsl
)
LOCK
(
lru
)
LOCK
(
mempool
)
LOCK
(
objhdr
)
...
...
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