mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 03:50:20 -07:00
Add name to threads
This help identifying threads when debugging. The naming scheme is using 'class/function name + variable name'. Note that the length limitaion is 16 chars on linux. On Windows, the limit is 32767 chars. PR #21403.
This commit is contained in:
parent
3fb5d7764c
commit
9e5433bcf8
19 changed files with 19 additions and 14 deletions
|
@ -123,6 +123,7 @@ AutoDownloader::AutoDownloader(IApplication *app)
|
|||
.arg(fileName.toString(), errorString), Log::CRITICAL);
|
||||
});
|
||||
|
||||
m_ioThread->setObjectName("RSS::AutoDownloader m_ioThread");
|
||||
m_ioThread->start();
|
||||
|
||||
connect(app->addTorrentManager(), &AddTorrentManager::torrentAdded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue