Notify thread stopped
| 96 | |
| 97 | //! Notify thread stopped |
| 98 | void stop() { |
| 99 | // Set stop flag as ture, then wake the thread |
| 100 | stopping_ = true; |
| 101 | std::lock_guard<std::mutex> lock(mutex_); |
| 102 | cond_.notify_one(); |
| 103 | } |
| 104 | |
| 105 | protected: |
| 106 | //! Thread worker callback |
nothing calls this directly
no outgoing calls
no test coverage detected