Changeset 7976 in ntrip for trunk/BNC/src/bncmain.cpp


Ignore:
Timestamp:
Jun 30, 2016, 4:58:38 PM (8 years ago)
Author:
stuerze
Message:

mionor changes to allow programm interruption by Ctrl+C in case of raw file processing

File:
1 edited

Legend:

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

    r7961 r7976  
    5757using namespace std;
    5858
    59 
    6059void catch_signal(int) {
    6160  cout << "Program Interrupted by Ctrl-C" << endl;
     61  BNC_CORE->sigintReceived = 1;
    6262  qApp->quit();
    6363}
     
    484484    // -----------------------------
    485485    else {
     486      BNC_CORE->sigintReceived = 0;
    486487      BNC_CORE->setMode(t_bncCore::batchPostProcessing);
    487488      BNC_CORE->startPPP();
Note: See TracChangeset for help on using the changeset viewer.