summaryrefslogtreecommitdiffstats
path: root/ipecamera/private.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-12 10:28:23 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-12 10:28:23 +0100
commit9a51195b1ce73005e87c00448c908286fb5c07d7 (patch)
treedcb5318895ac3f15a0d4a7f8bca9acdf2ea8d699 /ipecamera/private.h
parenta52db447b5d63de3304f4351a4a953ab8f4b13e5 (diff)
downloadpcitool-9a51195b1ce73005e87c00448c908286fb5c07d7.tar.gz
pcitool-9a51195b1ce73005e87c00448c908286fb5c07d7.tar.bz2
pcitool-9a51195b1ce73005e87c00448c908286fb5c07d7.tar.xz
pcitool-9a51195b1ce73005e87c00448c908286fb5c07d7.zip
Declare volatile differently
Diffstat (limited to 'ipecamera/private.h')
-rw-r--r--ipecamera/private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipecamera/private.h b/ipecamera/private.h
index b583f38..3661cbe 100644
--- a/ipecamera/private.h
+++ b/ipecamera/private.h
@@ -80,9 +80,9 @@ struct ipecamera_s {
int streaming; /**< Camera is in streaming mode (we are within stream call) */
int parse_data; /**< Indicates if some processing of the data is required, otherwise only rawdata_callback will be called */
- int run_reader; /**< Instructs the reader thread to stop processing */
- int run_streamer; /**< Indicates request to stop streaming events and can be set by reader_thread upon exit or by user request */
- int run_preprocessors; /**< Instructs preprocessors to exit */
+ volatile int run_reader; /**< Instructs the reader thread to stop processing */
+ volatile int run_streamer; /**< Indicates request to stop streaming events and can be set by reader_thread upon exit or by user request */
+ volatile int run_preprocessors; /**< Instructs preprocessors to exit */
ipecamera_autostop_t autostop;