Ignore:
Timestamp:
Sep 12, 2013, 5:09:02 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/map_stations/thriftclient.h

    r5424 r5425  
    55#include <map>
    66#include <QThread>
     7#include <QMutex>
    78
    89#include <transport/TSocket.h>
     
    6768  ~t_thriftClient();
    6869  virtual void run();
    69   void stop() {_stop = true;}
     70  void stop() {
     71    QMutexLocker locker(&_mutex);
     72    _stop = true;
     73  }
    7074
    7175 private:
     76  QMutex                      _mutex;
    7277  GnssCenter::t_map_stations* _parent;
    7378  bool                        _stop;
Note: See TracChangeset for help on using the changeset viewer.