Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
f965f4df
Commit
f965f4df
authored
Jan 23, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgot to pass the struct wrk* argument to the task function.
parent
edf5144f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cache.h
bin/varnishd/cache/cache.h
+1
-1
cache_pool.c
bin/varnishd/cache/cache_pool.c
+1
-1
No files found.
bin/varnishd/cache/cache.h
View file @
f965f4df
...
...
@@ -288,7 +288,7 @@ struct wrk_accept {
/* Worker pool stuff -------------------------------------------------*/
typedef
void
pool_func_t
(
struct
pool
*
pp
,
void
*
priv
);
typedef
void
pool_func_t
(
struct
pool
*
pp
,
struct
worker
*
wrk
,
void
*
priv
);
struct
pool_task
{
VTAILQ_ENTRY
(
pool_task
)
list
;
...
...
bin/varnishd/cache/cache_pool.c
View file @
f965f4df
...
...
@@ -257,7 +257,7 @@ Pool_Work_Thread(void *priv, struct worker *wrk)
if
(
tp
!=
NULL
)
{
Lck_Unlock
(
&
pp
->
mtx
);
tp
->
func
(
pp
,
tp
->
priv
);
tp
->
func
(
pp
,
wrk
,
tp
->
priv
);
stats_clean
=
WRK_TrySumStat
(
wrk
);
Lck_Lock
(
&
pp
->
mtx
);
continue
;
...
...
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