Changeset 4704 in ntrip


Ignore:
Timestamp:
Sep 9, 2012, 8:00:30 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/rinex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4703 r4704  
    117117                                   double maxValue) {
    118118
     119  _mutex.unlock();
     120  QMutexLocker locker(&_mutex);
     121
    119122  bncApp* app = dynamic_cast<bncApp*>(qApp);
    120123  if (app->GUIenabled()) {
     
    204207////////////////////////////////////////////////////////////////////////////
    205208void t_reqcAnalyze::analyzeFile(t_rnxObsFile* obsFile) {
     209
     210  _mutex.lock();
    206211
    207212  if (_log) {
     
    629634                                     const QByteArray& title) {
    630635
     636  _mutex.unlock();
     637  QMutexLocker locker(&_mutex);
     638
    631639  if (dynamic_cast<bncApp*>(qApp)->GUIenabled()) {
    632640
  • trunk/BNC/src/rinex/reqcanalyze.h

    r4701 r4704  
    178178  QMap<QString, t_availData> _availDataMap;
    179179  t_obsStat                  _obsStat;
     180  QMutex                     _mutex;
    180181};
    181182
Note: See TracChangeset for help on using the changeset viewer.