Changeset 5905 in ntrip for trunk/BNC/src/PPP/pppThread.cpp


Ignore:
Timestamp:
Aug 9, 2014, 11:45:37 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppThread.cpp

    r5904 r5905  
    5555// Constructor
    5656////////////////////////////////////////////////////////////////////////////
    57 t_pppThread::t_pppThread(const t_pppOptions* opt) : QThread(0) {
    58   _opt    = opt;
    59   _pppRun = 0;
     57t_pppThread::t_pppThread(bool ownThread, const t_pppOptions* opt) : QThread(0) {
     58
     59  _ownThread = ownThread;
     60  _opt       = opt;
     61  _pppRun    = 0;
    6062
    6163  connect(this, SIGNAL(finished()), this, SLOT(deleteLater()));
     
    7981    _pppRun = new t_pppRun(_opt);
    8082    if (_opt->_realTime) {
    81       QThread::exec();
     83      if (_ownThread) {
     84        QThread::exec();
     85      }
    8286    }
    8387    else {
Note: See TracChangeset for help on using the changeset viewer.