Changeset 2617 in ntrip for trunk


Ignore:
Timestamp:
Oct 13, 2010, 4:53:21 PM (14 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r2493 r2617  
    219219////////////////////////////////////////////////////////////////////////////
    220220void t_bns::slotMessage(const QByteArray msg) {
     221
     222  QMutexLocker locker(&_mutexmesg);
     223
    221224  if (_logStream) {
    222225    QString txt = QDateTime::currentDateTime().toUTC().toString("yy-MM-dd hh:mm:ss ");
     
    230233////////////////////////////////////////////////////////////////////////////
    231234void t_bns::slotError(const QByteArray msg) {
     235
     236  QMutexLocker locker(&_mutexmesg);
     237
    232238  if (_logStream) {
    233239    *_logStream << msg << endl;
  • trunk/BNS/bns.h

    r2493 r2617  
    8686  t_bnseph*                 _bnseph;
    8787  QMutex                    _mutex;
     88  QMutex                    _mutexmesg;
    8889  QMap<QString, t_ephPair*> _ephList;
    8990  bnsRinex*                 _rnx;
Note: See TracChangeset for help on using the changeset viewer.