Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
slash
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
slash
Commits
8f474f1b
Unverified
Commit
8f474f1b
authored
Oct 02, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid LRU thread hanging during shutdown
parent
f150bde0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
fellow_cache.c
src/fellow_cache.c
+5
-1
No files found.
src/fellow_cache.c
View file @
8f474f1b
...
@@ -5155,11 +5155,15 @@ void
...
@@ -5155,11 +5155,15 @@ void
fellow_cache_fini
(
struct
fellow_cache
**
fcp
)
fellow_cache_fini
(
struct
fellow_cache
**
fcp
)
{
{
struct
fellow_cache
*
fc
;
struct
fellow_cache
*
fc
;
int
i
;
TAKE_OBJ_NOTNULL
(
fc
,
fcp
,
FELLOW_CACHE_MAGIC
);
TAKE_OBJ_NOTNULL
(
fc
,
fcp
,
FELLOW_CACHE_MAGIC
);
fc
->
running
=
0
;
fc
->
running
=
0
;
for
(
i
=
0
;
i
<
5
;
i
++
)
{
buddy_wait_kick
(
fc
->
membuddy
);
buddy_wait_kick
(
fc
->
membuddy
);
(
void
)
usleep
(
10
*
1000
);
}
fellow_cache_lrus_fini
(
fc
->
lrus
);
fellow_cache_lrus_fini
(
fc
->
lrus
);
assert
(
VRBT_EMPTY
(
&
fc
->
fdb_head
));
assert
(
VRBT_EMPTY
(
&
fc
->
fdb_head
));
...
...
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