Changeset 5905 in ntrip for trunk/BNC/src/PPP/pppMain.cpp
- Timestamp:
- Aug 9, 2014, 11:45:37 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppMain.cpp
r5900 r5905 62 62 // 63 63 ////////////////////////////////////////////////////////////////////////////// 64 void t_pppMain::start( ) {64 void t_pppMain::start(bool ownThread) { 65 65 if (_running) { 66 66 return; … … 73 73 while (iOpt.hasNext()) { 74 74 const t_pppOptions* opt = iOpt.next(); 75 t_pppThread* pppThread = new t_pppThread(opt); 76 pppThread->start(); 75 t_pppThread* pppThread = new t_pppThread(ownThread, opt); 76 if (ownThread) { 77 cout << "start" << endl; 78 pppThread->start(); 79 } 80 else { 81 cout << "run" << endl; 82 pppThread->run(); 83 } 77 84 _pppThreads << pppThread; 78 85 _running = true;
Note:
See TracChangeset
for help on using the changeset viewer.