| 83 | |
| 84 | template<class DataType> |
| 85 | void |
| 86 | UpdateReceiver<DataType>::stop() |
| 87 | { |
| 88 | if (OpenDDS::DCPS::DCPS_debug_level > 0) { |
| 89 | ACE_DEBUG((LM_DEBUG, |
| 90 | ACE_TEXT("(%P|%t) UpdateReceiver::stop()\n"))); |
| 91 | } |
| 92 | |
| 93 | // Indicate the thread should stop and get its attention. |
| 94 | if (this->stop_) |
| 95 | return; |
| 96 | |
| 97 | this->stop_ = true; |
| 98 | this->workAvailable_.signal(); |
| 99 | } |
| 100 | |
| 101 | template<class DataType> |
| 102 | void |