- Timestamp:
- Feb 1, 2007, 8:12:51 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnccaster.cpp
r383 r385 120 120 //////////////////////////////////////////////////////////////////////////// 121 121 void bncCaster::reconnecting(const QByteArray& staID) { 122 QMutexLocker locker(&_mutex); 122 123 if (_rinexWriters.find(staID) != _rinexWriters.end()) { 123 124 bncRinex* rnx = _rinexWriters.find(staID).value(); … … 186 187 //////////////////////////////////////////////////////////////////////////// 187 188 void bncCaster::dumpEpochSlot() { 189 QMutexLocker locker(&_mutex); 188 190 if (_newTime != 0 && _epochs->size() > 0) { 189 191 dumpEpochs(_lastDumpSec + 1, _newTime - _waitTime); … … 199 201 //////////////////////////////////////////////////////////////////////////// 200 202 void bncCaster::slotNewConnection() { 203 QMutexLocker locker(&_mutex); 201 204 _sockets->push_back( _server->nextPendingConnection() ); 202 205 } … … 205 208 //////////////////////////////////////////////////////////////////////////// 206 209 void bncCaster::addGetThread(bncGetThread* getThread) { 210 QMutexLocker locker(&_mutex); 207 211 connect(getThread, SIGNAL(error(const QByteArray&)), 208 212 this, SLOT(slotGetThreadError(const QByteArray&))); … … 228 232 //////////////////////////////////////////////////////////////////////////// 229 233 void bncCaster::dumpEpochs(long minTime, long maxTime) { 234 QMutexLocker locker(&_mutex); 230 235 231 236 const char begEpoch = 'A';
Note:
See TracChangeset
for help on using the changeset viewer.