From: Soeren Apel Date: Tue, 9 Feb 2016 13:48:31 +0000 (+0100) Subject: Fix #181 by changing the global decode lock into an SRD lock X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=a1a3656b4e18cb9fc078a51bf4256066ee307620;hp=a1a3656b4e18cb9fc078a51bf4256066ee307620;p=pulseview.git Fix #181 by changing the global decode lock into an SRD lock The global decode was insufficient insofar as it didn't prevent a newly started decode thread from interjecting its own decode operations. When this happens, something goes haywire somewhere and Python crashes. Until the underlying cause is fixed, this global SRD lock forces one decoder thread to finish before another one can start. While this is a bit inconvenient for wanting to decode as the acquisition is going on, it currently is the only working option. ---