X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=libsigrokdecode.h;h=549bd2521eaffedb8830a8aed82dd1d008e5872f;hp=8d1d5ae8212cc5f49eafd4d88488fe5c5f85376e;hb=04383ea876df72b7bd5c19854c30c81abdc0aa0c;hpb=1ec8b3acd2ef4e857110e536b40377e6f645b89f 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;