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
b1d32508
Commit
b1d32508
authored
Aug 02, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure the stats got initialized
parent
7b68f637
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pesi.c
src/pesi.c
+2
-1
No files found.
src/pesi.c
View file @
b1d32508
...
...
@@ -48,7 +48,7 @@
/* shared with vmod code */
struct
lock
stats_lock
;
struct
VSC_pesi
*
stats
;
struct
VSC_pesi
*
stats
=
NULL
;
/* ------------------------------------------------------------
* pesi tasks
...
...
@@ -123,6 +123,7 @@ pesi_destroy(struct pesi **pesip)
if
(
pesi
->
no_thread
!=
0
)
{
Lck_Lock
(
&
stats_lock
);
AN
(
stats
);
stats
->
no_thread
+=
pesi
->
no_thread
;
Lck_Unlock
(
&
stats_lock
);
}
...
...
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