Changeset 6cbdac
- Timestamp:
- 02/02/12 12:35:08 (4 months ago)
- Branches:
- ('master', 'deebf2045e7119c339412580f37a1e653f7d5715')('controller-upgrade', '00f95d22e12d96ef089e0902ef62ae8ce841dc6f')
- Children:
- f62881d42e171b9d38911d42e2e2239cf4b08d55
- Parents:
- 91cf55816c082f625d54a715647067388cf818af
- git-author:
- Stefan Persson <stefan.persson@telldus.se>2012-02-02 12:35:08+01:00
- git-committer:
- Stefan Persson <stefan.persson@telldus.se>2012-02-02 12:35:08+01:00
- File:
-
- 1 edited
-
telldus-core/client/CallbackDispatcher.cpp (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
telldus-core/client/CallbackDispatcher.cpp
r245864 r6cbdac 22 22 TDDeviceEventDispatcher::~TDDeviceEventDispatcher() { 23 23 this->wait(); 24 d->mutex.unlock();25 24 } 26 25 … … 34 33 35 34 doneRunning = true; 35 d->mutex.unlock(); 36 36 } 37 37 … … 46 46 TDDeviceChangeEventDispatcher::~TDDeviceChangeEventDispatcher() { 47 47 this->wait(); 48 d->mutex.unlock();49 48 } 50 49 … … 56 55 d->event(deviceId, changeEvent, changeType, d->id, d->context); 57 56 doneRunning = true; 57 d->mutex.unlock(); 58 58 } 59 59 … … 67 67 TDRawDeviceEventDispatcher::~TDRawDeviceEventDispatcher() { 68 68 this->wait(); 69 d->mutex.unlock();70 69 } 71 70 … … 77 76 d->event(strData.c_str(), controllerId, d->id, d->context); 78 77 doneRunning = true; 78 d->mutex.unlock(); 79 79 } 80 80 … … 88 88 TDSensorEventDispatcher::~TDSensorEventDispatcher() { 89 89 this->wait(); 90 d->mutex.unlock();91 90 } 92 91 … … 98 97 d->event(protocol.c_str(), model.c_str(), sensorId, dataType, value.c_str(), timestamp, d->id, d->context); 99 98 doneRunning = true; 99 d->mutex.unlock(); 100 100 }
Note: See TracChangeset
for help on using the changeset viewer.
