Session: document the purpose of sampling_mutex_.
authorTilman Sauerbeck <tilman@code-monkey.de>
Mon, 9 Nov 2015 17:33:42 +0000 (18:33 +0100)
committerTilman Sauerbeck <tilman@code-monkey.de>
Mon, 9 Nov 2015 17:33:42 +0000 (18:33 +0100)
pv/session.hpp

index f2f8c7c8e26549be7e6ba8a5e5977c3faf6b10f2..ac3d654c63f06a4d70cd82db368bf16383c41453 100644 (file)
@@ -163,7 +163,7 @@ private:
 
        std::vector< std::shared_ptr<view::DecodeTrace> > decode_traces_;
 
-       mutable std::mutex sampling_mutex_;
+       mutable std::mutex sampling_mutex_; //!< Protects access to capture_state_.
        capture_state capture_state_;
 
        mutable boost::shared_mutex signals_mutex_;