SigSession::capture_state SigSession::get_capture_state() const
{
- lock_guard<mutex> lock(_state_mutex);
+ lock_guard<mutex> lock(_sampling_mutex);
return _capture_state;
}
void SigSession::set_capture_state(capture_state state)
{
- lock_guard<mutex> lock(_state_mutex);
+ lock_guard<mutex> lock(_sampling_mutex);
_capture_state = state;
capture_state_changed(state);
}
const struct sr_datafeed_packet *packet);
private:
- mutable boost::mutex _state_mutex;
+ mutable boost::mutex _sampling_mutex;
capture_state _capture_state;
mutable boost::mutex _signals_mutex;