Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
barry cho
Hikyuu
Commits
be548312
Commit
be548312
authored
5 years ago
by
fasiondog
Browse files
Options
Download
Email Patches
Plain Diff
update
parent
6219544f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hikyuu_cpp/hikyuu/utilities/thread/StealThreadPool.h
+1
-2
hikyuu_cpp/hikyuu/utilities/thread/StealThreadPool.h
with
1 addition
and
2 deletions
+1
-2
hikyuu_cpp/hikyuu/utilities/thread/StealThreadPool.h
+
1
-
2
View file @
be548312
...
...
@@ -82,7 +82,7 @@ public:
}
else
{
m_master_work_queue
.
push
(
std
::
move
(
task
));
}
m_cv
.
notify_
all
();
m_cv
.
notify_
one
();
return
res
;
}
...
...
@@ -157,7 +157,6 @@ private:
while
(
!
m_thread_need_stop
&&
!
m_done
)
{
run_pending_task
();
}
// fmt::print("thread ({}) finished!\n", std::this_thread::get_id());
}
void
run_pending_task
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help