X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=libsigrokdecode.h;h=549bd2521eaffedb8830a8aed82dd1d008e5872f;hb=a8933728e3bad0e34d743d9d38baba98f443b018;hp=8d1d5ae8212cc5f49eafd4d88488fe5c5f85376e;hpb=4564e8e53af85e696a58e43677bae87470c52771;p=libsigrokdecode.git diff --git a/libsigrokdecode.h b/libsigrokdecode.h index 8d1d5ae..549bd25 100644 --- a/libsigrokdecode.h +++ b/libsigrokdecode.h @@ -261,6 +261,9 @@ struct srd_decoder_inst { /** Indicates whether the worker thread has handled all samples. */ gboolean handled_all_samples; + /** Requests termination of wait() and decode(). */ + gboolean want_wait_terminate; + GCond got_new_samples_cond; GCond handled_all_samples_cond; GMutex data_mutex;