aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/thread/TaskRunner.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-23 06:29:25 +0000
committersaturneric <[email protected]>2023-10-23 06:29:25 +0000
commit31fc827672a131da020c4b4a0c3c8a145d477835 (patch)
treea825cdbf87d69d7449d00f7360c797e755e8f783 /src/core/thread/TaskRunner.cpp
parentfix: improve the stability of thread system (diff)
downloadGpgFrontend-31fc827672a131da020c4b4a0c3c8a145d477835.tar.gz
GpgFrontend-31fc827672a131da020c4b4a0c3c8a145d477835.zip
feat: improve project structure and add GRT for modules
Diffstat (limited to 'src/core/thread/TaskRunner.cpp')
-rw-r--r--src/core/thread/TaskRunner.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/thread/TaskRunner.cpp b/src/core/thread/TaskRunner.cpp
index e8b85e93..2035fe67 100644
--- a/src/core/thread/TaskRunner.cpp
+++ b/src/core/thread/TaskRunner.cpp
@@ -50,7 +50,7 @@ class TaskRunner::Impl : public QThread {
task->setParent(nullptr);
task->moveToThread(this);
- SPDLOG_TRACE("runner's pool starts task: {}", task->GetFullID());
+ SPDLOG_TRACE("runner starts task: {}", task->GetFullID());
task->SafelyRun();
}
@@ -71,6 +71,7 @@ class TaskRunner::Impl : public QThread {
concurrent_thread->start();
+ SPDLOG_TRACE("runner starts task concurrenctly: {}", task->GetFullID());
task->SafelyRun();
}