|
|
@ -540,7 +540,7 @@ clientInput(void *data)
|
|
|
|
ClientOutputHandlerObject* clientOutputHandler = new ClientOutputHandlerObject();
|
|
|
|
ClientOutputHandlerObject* clientOutputHandler = new ClientOutputHandlerObject();
|
|
|
|
clientOutputHandler->d = cl;
|
|
|
|
clientOutputHandler->d = cl;
|
|
|
|
clientOutputHandler->moveToThread(clientOutputHandlerThread);
|
|
|
|
clientOutputHandler->moveToThread(clientOutputHandlerThread);
|
|
|
|
TQTimer::singleShot(0, clientOutputHandler, SLOT(run()));
|
|
|
|
TQTimer::singleShot(0, clientOutputHandler, TQ_SLOT(run()));
|
|
|
|
clientOutputHandlerThread->start();
|
|
|
|
clientOutputHandlerThread->start();
|
|
|
|
|
|
|
|
|
|
|
|
while (1) {
|
|
|
|
while (1) {
|
|
|
@ -675,7 +675,7 @@ rfbStartOnHoldClient(rfbClientPtr cl)
|
|
|
|
mOnHoldClientHandler = new OnHoldClientHandlerObject();
|
|
|
|
mOnHoldClientHandler = new OnHoldClientHandlerObject();
|
|
|
|
mOnHoldClientHandler->d = cl;
|
|
|
|
mOnHoldClientHandler->d = cl;
|
|
|
|
mOnHoldClientHandler->moveToThread(mOnHoldClientHandlerThread);
|
|
|
|
mOnHoldClientHandler->moveToThread(mOnHoldClientHandlerThread);
|
|
|
|
TQTimer::singleShot(0, mOnHoldClientHandler, SLOT(run()));
|
|
|
|
TQTimer::singleShot(0, mOnHoldClientHandler, TQ_SLOT(run()));
|
|
|
|
mOnHoldClientHandlerThread->start();
|
|
|
|
mOnHoldClientHandlerThread->start();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1307,7 +1307,7 @@ void rfbRunEventLoop(rfbScreenInfoPtr screen, long usec, rfbBool runInBackground
|
|
|
|
mControlPipeHandler = new ControlPipeHandlerObject();
|
|
|
|
mControlPipeHandler = new ControlPipeHandlerObject();
|
|
|
|
mControlPipeHandler->d = screen;
|
|
|
|
mControlPipeHandler->d = screen;
|
|
|
|
mControlPipeHandler->moveToThread(mControlPipeHandlerThread);
|
|
|
|
mControlPipeHandler->moveToThread(mControlPipeHandlerThread);
|
|
|
|
TQTimer::singleShot(0, mControlPipeHandler, SLOT(run()));
|
|
|
|
TQTimer::singleShot(0, mControlPipeHandler, TQ_SLOT(run()));
|
|
|
|
mControlPipeHandlerThread->start();
|
|
|
|
mControlPipeHandlerThread->start();
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|