From: Soeren Apel Date: Mon, 12 Mar 2018 14:58:06 +0000 (+0100) Subject: SignalBase: Speed up conversion and prevent leaving samples unconverted X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;ds=sidebyside;h=784f6c75bf8d878b395b8eb7b5e92fa24d9b32ba;hp=784f6c75bf8d878b395b8eb7b5e92fa24d9b32ba;p=pulseview.git SignalBase: Speed up conversion and prevent leaving samples unconverted Unconverted samples can happen due to a race condition: being notified of new samples coming in is ignored when the thread is already executing. If these notifications however were the last ones sent out because the segment was completed right after, the currently ongoing conversion will finish but not be restarted with the final sample range. With this patch, this is prevented. ---