Changeset 11057 in ntrip for trunk/BNC/src/pppMain.cpp


Ignore:
Timestamp:
Sep 30, 2026, 11:30:26 AM (3 days ago)
Author:
stuerze
Message:

bug fixes resulting from overall tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppMain.cpp

    r11052 r11057  
    8181      t_pppThread* pppThread = new t_pppThread(opt);
    8282      pppThread->start();
     83      // In batch post-processing (--file replay), the data source must not
     84      // start before the PPP client is connected, otherwise the data read
     85      // in the meantime get lost (a varying amount, depending on thread
     86      // scheduling).
     87      if (BNC_CORE->mode() == t_bncCore::batchPostProcessing) {
     88        pppThread->waitUntilReady();
     89      }
    8390      _pppThreads << pppThread;
    8491      _running = true;
Note: See TracChangeset for help on using the changeset viewer.