Changeset 5946 in ntrip for trunk/BNC/src/PPP/pppMain.cpp
- Timestamp:
- Aug 16, 2014, 1:45:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppMain.cpp
r5944 r5946 63 63 // 64 64 ////////////////////////////////////////////////////////////////////////////// 65 void t_pppMain::start( bool ownThread) {65 void t_pppMain::start() { 66 66 if (_running) { 67 67 return; … … 74 74 while (iOpt.hasNext()) { 75 75 const t_pppOptions* opt = iOpt.next(); 76 t_pppThread* pppThread = new t_pppThread(ownThread, opt); 77 if (ownThread) { 78 pppThread->start(); 79 } 80 else { 81 pppThread->run(); 82 } 76 t_pppThread* pppThread = new t_pppThread(opt); 77 pppThread->start(); 83 78 _pppThreads << pppThread; 84 79 _running = true; … … 94 89 ////////////////////////////////////////////////////////////////////////////// 95 90 void t_pppMain::stop() { 96 97 cout << "t_pppMain::stop" << endl;98 91 99 92 if (!_running) {
Note:
See TracChangeset
for help on using the changeset viewer.