Changeset 2528 in ntrip for trunk/BNC/bnccaster.cpp


Ignore:
Timestamp:
Aug 3, 2010, 4:06:47 PM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r2316 r2528  
    257257// Add New Thread
    258258////////////////////////////////////////////////////////////////////////////
    259 void bncCaster::addGetThread(bncGetThread* getThread) {
     259void bncCaster::addGetThread(bncGetThread* getThread, bool noNewThread) {
    260260
    261261  qRegisterMetaType<p_obs>("p_obs");
     
    276276  _threads.push_back(getThread);
    277277
    278   getThread->start();
     278  if (noNewThread) {
     279    getThread->run();
     280  }
     281  else {
     282    getThread->start();
     283  }
    279284}
    280285
Note: See TracChangeset for help on using the changeset viewer.