Hi,

I am experimenting on a continuous oscilloscope-like mode for
PulseView (I basically added a loop in sample_thread_proc), and I
encounter a deadlock on pv::Session::signals_mutex_.
It appears both pv::view::Viewport::paintEvent (main UI thread) and
pv::Session::signal_from_channel (sampling thread) try to acquire the
mutex exclusively.

The deadlock disappears when replacing lock_guard by shared_lock in
signal_from_channel. So, is exclusive access to pv::Session::signals_
necessary there?

Best regards,

Hubert Chaumette

------------------------------------------------------------------------------
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to