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
1138f10b
Commit
1138f10b
authored
Oct 26, 2016
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix thread name for pool_poolherder, add it for pool_herder
parent
764f9887
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
cache_pool.c
bin/varnishd/cache/cache_pool.c
+1
-1
cache_wrk.c
bin/varnishd/cache/cache_wrk.c
+2
-0
No files found.
bin/varnishd/cache/cache_pool.c
View file @
1138f10b
...
@@ -190,7 +190,7 @@ pool_poolherder(void *priv)
...
@@ -190,7 +190,7 @@ pool_poolherder(void *priv)
struct
pool
*
pp
;
struct
pool
*
pp
;
uint64_t
u
;
uint64_t
u
;
THR_SetName
(
"pool_herder"
);
THR_SetName
(
"pool_
pool
herder"
);
(
void
)
priv
;
(
void
)
priv
;
nwq
=
0
;
nwq
=
0
;
...
...
bin/varnishd/cache/cache_wrk.c
View file @
1138f10b
...
@@ -438,6 +438,8 @@ pool_herder(void *priv)
...
@@ -438,6 +438,8 @@ pool_herder(void *priv)
CAST_OBJ_NOTNULL
(
pp
,
priv
,
POOL_MAGIC
);
CAST_OBJ_NOTNULL
(
pp
,
priv
,
POOL_MAGIC
);
THR_SetName
(
"pool_herder"
);
while
(
1
)
{
while
(
1
)
{
/* Make more threads if needed and allowed */
/* Make more threads if needed and allowed */
if
(
pp
->
nthr
<
cache_param
->
wthread_min
||
if
(
pp
->
nthr
<
cache_param
->
wthread_min
||
...
...
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