Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
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
varnishevent3
Commits
dc31486a
Commit
dc31486a
authored
Feb 27, 2013
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
varnishevent: - bugfix stats
- reader thread takes the freelist before running
parent
ae3ffdf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
varnishevent.c
bin/varnishevent/varnishevent.c
+5
-0
No files found.
bin/varnishevent/varnishevent.c
View file @
dc31486a
...
...
@@ -207,6 +207,7 @@ fd_free(fd_t *entry)
VTAILQ_REMOVE
(
&
insert_head
,
entry
,
insert_list
);
entry
->
state
=
FD_EMPTY
;
entry
->
ll
=
NULL
;
open
--
;
}
static
inline
void
...
...
@@ -607,6 +608,10 @@ main(int argc, char *argv[])
LOG_Log
(
LOG_ALERT
,
"Cannot init writer thread: %s
\n
"
,
strerror
(
errnum
));
exit
(
EXIT_FAILURE
);
}
rdr_free
=
DATA_Take_Freelist
(
&
reader_freelist
);
assert
(
!
VSTAILQ_EMPTY
(
&
reader_freelist
));
AZ
(
rdr_free
);
WRT_Start
();
/* XXX: configure wrt_waits and sleep interval? */
...
...
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