]> sigrok.org Git - pulseview.git/commit
SignalBase: Don't terminate conversion when there's no data
authorSoeren Apel <redacted>
Tue, 2 Jan 2018 10:07:36 +0000 (11:07 +0100)
committerUwe Hermann <redacted>
Tue, 9 Jan 2018 23:33:54 +0000 (00:33 +0100)
commit2b3dda54bb8e390e6a5d378c0e88f2bafacf0870
tree1232a054b086f33549f9e313d334b49436fc7f42
parent558ad6ceb934ab7406d286c1a4ae08da4aba1448
SignalBase: Don't terminate conversion when there's no data

Instead of terminating, we wait instead.
We do this because SignalBase::on_samples_added() somehow doesn't
reliably see that there's no conversion thread active anymore.
conversion_thread_.joinable() returns true when the thread was
already terminated for whatever reason, resulting in on_samples_added()
trying to notify a non-existant thread.
pv/data/signalbase.cpp