Changeset 3559 in ntrip
- Timestamp:
- Dec 24, 2011, 10:15:13 AM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r3558 r3559 346 346 //////////////////////////////////////////////////////////////////////////// 347 347 GPSDecoder* bncGetThread::decoder() { 348 QMutexLocker locker(&_mutexDecoder); 349 348 350 if (_decoders.contains(_staID) || initDecoder() == success) { 349 351 return _decoders[_staID]; … … 755 757 ////////////////////////////////////////////////////////////////////////////// 756 758 void bncGetThread::slotNewEphGPS(gpsephemeris gpseph) { 759 QMutexLocker locker(&_mutexSlot); 757 760 758 761 if (!decoder()) { … … 764 767 765 768 if ( decoder2 ) { 766 QMutexLocker locker(&_mutex);767 768 769 string storedPRN; 769 770 vector<int> IODs; … … 783 784 784 785 if ( decoder3 ) { 785 QMutexLocker locker(&_mutex);786 787 786 if ( decoder3->storeEph(gpseph) ) { 788 787 #ifdef DEBUG_RTCM3 -
trunk/BNC/bncgetthread.h
r3528 r3559 123 123 QFile* _serialOutFile; 124 124 t_serialNMEA _serialNMEA; 125 QMutex _mutex; 125 QMutex _mutexSlot; 126 QMutex _mutexDecoder; 126 127 bncPPPclient* _PPPclient; 127 128 bool _rawOutput;
Note:
See TracChangeset
for help on using the changeset viewer.