summaryrefslogtreecommitdiffstats
path: root/pcilib.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 /pcilib.h
parent5b536ceea053c8480862f68fd46a478abb64fd63 (diff)
downloadpcitool-04cf1d6de47e21b330f377b5e4f0d11cc638d4d9.tar.gz
pcitool-04cf1d6de47e21b330f377b5e4f0d11cc638d4d9.tar.bz2
pcitool-04cf1d6de47e21b330f377b5e4f0d11cc638d4d9.tar.xz
pcitool-04cf1d6de47e21b330f377b5e4f0d11cc638d4d9.zip
Allow to configure the number of preprocessing threads
Diffstat (limited to 'pcilib.h')
-rw-r--r--pcilib.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pcilib.h b/pcilib.h
index e9cd4ec..fed600c 100644
--- a/pcilib.h
+++ b/pcilib.h
@@ -332,6 +332,14 @@ int pcilib_configure_autostop(pcilib_t *ctx, size_t max_events, pcilib_timeout_t
*/
int pcilib_configure_rawdata_callback(pcilib_t *ctx, pcilib_event_rawdata_callback_t callback, void *user);
+/*
+ * Configures maximal number of preprocessing threads. Actual amount of threads
+ * may be bigger. For instance, additionaly a real-time reader thread will be
+ * executed for most of hardware
+ */
+int pcilib_configure_preprocessing_threads(pcilib_t *ctx, size_t max_threads);
+
+
int pcilib_start(pcilib_t *ctx, pcilib_event_t event_mask, pcilib_event_flags_t flags);
int pcilib_stop(pcilib_t *ctx, pcilib_event_flags_t flags);