kopia lustrzana https://gitlab.com/eliggett/wfview
Name threads to ease debugging
rodzic
76e52c42db
commit
a929b2b8a8
|
@ -118,6 +118,7 @@ void rigCommander::commSetup(unsigned char rigCivAddr, udpPreferences prefs, aud
|
|||
udp = new udpHandler(prefs,rxSetup,txSetup);
|
||||
|
||||
udpHandlerThread = new QThread(this);
|
||||
udpHandlerThread->setObjectName("udpHandler()");
|
||||
|
||||
udp->moveToThread(udpHandlerThread);
|
||||
|
||||
|
|
|
@ -104,6 +104,7 @@ void servermain::makeRig()
|
|||
qInfo(logSystem()) << "Creating new rigThread()";
|
||||
radio->rig = new rigCommander(radio->guid);
|
||||
radio->rigThread = new QThread(this);
|
||||
radio->rigThread->setObjectName("rigCommander()");
|
||||
|
||||
// Thread:
|
||||
radio->rig->moveToThread(radio->rigThread);
|
||||
|
@ -378,6 +379,7 @@ void servermain::setServerToPrefs()
|
|||
udp = new udpServer(&serverConfig);
|
||||
|
||||
serverThread = new QThread(this);
|
||||
serverThread->setObjectName("udpServer()");
|
||||
|
||||
udp->moveToThread(serverThread);
|
||||
|
||||
|
|
|
@ -902,6 +902,7 @@ udpAudio::udpAudio(QHostAddress local, QHostAddress ip, quint16 audioPort, quint
|
|||
|
||||
rxaudio = new audioHandler();
|
||||
rxAudioThread = new QThread(this);
|
||||
rxAudioThread->setObjectName("rxAudio()");
|
||||
|
||||
rxaudio->moveToThread(rxAudioThread);
|
||||
|
||||
|
@ -929,6 +930,7 @@ udpAudio::udpAudio(QHostAddress local, QHostAddress ip, quint16 audioPort, quint
|
|||
if (enableTx) {
|
||||
txaudio = new audioHandler();
|
||||
txAudioThread = new QThread(this);
|
||||
rxAudioThread->setObjectName("txAudio()");
|
||||
|
||||
txaudio->moveToThread(txAudioThread);
|
||||
|
||||
|
|
|
@ -368,6 +368,8 @@ void udpServer::controlReceived()
|
|||
|
||||
radio->txaudio = new audioHandler();
|
||||
radio->txAudioThread = new QThread(this);
|
||||
radio->txAudioThread->setObjectName("server txAudio()");
|
||||
|
||||
|
||||
radio->txaudio->moveToThread(radio->txAudioThread);
|
||||
|
||||
|
@ -409,6 +411,7 @@ void udpServer::controlReceived()
|
|||
radio->rxaudio = new audioHandler();
|
||||
|
||||
radio->rxAudioThread = new QThread(this);
|
||||
radio->rxAudioThread->setObjectName("server rxAudio()");
|
||||
|
||||
radio->rxaudio->moveToThread(radio->rxAudioThread);
|
||||
|
||||
|
|
|
@ -412,6 +412,8 @@ void wfmain::makeRig()
|
|||
{
|
||||
rig = new rigCommander();
|
||||
rigThread = new QThread(this);
|
||||
rigThread->setObjectName("rigCommander()");
|
||||
|
||||
|
||||
// Thread:
|
||||
rig->moveToThread(rigThread);
|
||||
|
|
Ładowanie…
Reference in New Issue