Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adnan Ahmad
YCSB
Commits
a991bcfe
Commit
a991bcfe
authored
10 years ago
by
nitsanw
Committed by
Sean Busbey
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[client] Wait for status thread to properly exit in shutdown sequence
parent
f50848b0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/src/main/java/com/yahoo/ycsb/Client.java
+7
-1
7 additions, 1 deletion
core/src/main/java/com/yahoo/ycsb/Client.java
with
7 additions
and
1 deletion
core/src/main/java/com/yahoo/ycsb/Client.java
+
7
−
1
View file @
a991bcfe
...
...
@@ -800,7 +800,13 @@ public class Client
if
(
status
)
{
statusthread
.
interrupt
();
// wake up status thread if it's asleep
statusthread
.
interrupt
();
// at this point we assume all the monitored threads are already gone as per above join loop.
try
{
statusthread
.
join
();
}
catch
(
InterruptedException
e
)
{
}
}
try
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment