summaryrefslogtreecommitdiffstats
path: root/event.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-12 16:34:33 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-12 16:34:33 +0100
commit04cf1d6de47e21b330f377b5e4f0d11cc638d4d9 (patch)
treea2a44b8bb81c93d93da3f5e32e9c06e194012936 /event.h
parent5b536ceea053c8480862f68fd46a478abb64fd63 (diff)
downloadipecamera-04cf1d6de47e21b330f377b5e4f0d11cc638d4d9.tar.gz
ipecamera-04cf1d6de47e21b330f377b5e4f0d11cc638d4d9.tar.bz2
ipecamera-04cf1d6de47e21b330f377b5e4f0d11cc638d4d9.tar.xz
ipecamera-04cf1d6de47e21b330f377b5e4f0d11cc638d4d9.zip
Allow to configure the number of preprocessing threads
Diffstat (limited to 'event.h')
-rw-r--r--event.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/event.h b/event.h
index dfae452..3523f49 100644
--- a/event.h
+++ b/event.h
@@ -47,8 +47,13 @@ typedef struct {
} pcilib_rawdata_parameters_t;
typedef struct {
+ size_t max_threads;
+} pcilib_parallel_parameters_t;
+
+typedef struct {
pcilib_autostop_parameters_t autostop;
pcilib_rawdata_parameters_t rawdata;
+ pcilib_parallel_parameters_t parallel;
} pcilib_event_parameters_t;
struct pcilib_event_context_s {