summaryrefslogtreecommitdiff
path: root/libsigrokdecode.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsigrokdecode.h')
-rw-r--r--libsigrokdecode.h3
1 files changed, 3 insertions, 0 deletions
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;