shorter thread names

This commit is contained in:
2024-09-17 15:58:06 +03:00
parent f105f616f6
commit e186e0adff
7 changed files with 19 additions and 18 deletions

View File

@@ -998,7 +998,7 @@ PIIODevice * PIConnection::DevicePool::addDevice(PIConnection * parent, const PI
dd->started = false;
}
dd->rthread = new PIThread(dd, __DevicePool_threadReadDP);
dd->rthread->setName("__S__connection_" + fp + "_read_thread");
dd->rthread->setName("_S.Conn." + fp + ".read");
need_start = true;
pmode |= PIIODevice::ReadOnly;
}
@@ -1211,7 +1211,7 @@ PIConnection::Extractor::~Extractor() {
PIConnection::Sender::Sender(PIConnection * parent_): parent(parent_) {
setName("__S__.PIConnection.Sender");
setName("_S.PIConn.Sender");
needLockRun(true);
}