diff options
author | saturneric <[email protected]> | 2023-10-23 06:29:25 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-10-23 06:29:25 +0000 |
commit | 31fc827672a131da020c4b4a0c3c8a145d477835 (patch) | |
tree | a825cdbf87d69d7449d00f7360c797e755e8f783 /src/core/thread/TaskRunner.cpp | |
parent | fix: improve the stability of thread system (diff) | |
download | GpgFrontend-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.cpp | 3 |
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(); } |