Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
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
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
b0451777
Unverified
Commit
b0451777
authored
Jan 02, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
less nervous progress bar
parent
7ee5fa87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
src/utilities.cpp
+3
-1
No files found.
src/utilities.cpp
View file @
b0451777
...
@@ -171,13 +171,15 @@ struct ProgressImpl
...
@@ -171,13 +171,15 @@ struct ProgressImpl
void
ProgressImpl
::
Run
()
void
ProgressImpl
::
Run
()
{
{
using
namespace
std
::
literals
;
bool
printedAny
=
false
;
bool
printedAny
=
false
;
try
try
{
{
for
(;;)
for
(;;)
{
{
std
::
this_thread
::
sleep_for
(
std
::
chrono
::
milliseconds
(
100
)
);
std
::
this_thread
::
sleep_for
(
2
s
);
std
::
unique_lock
lock
(
mMutex
);
std
::
unique_lock
lock
(
mMutex
);
...
...
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