summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l/README.multi-threading
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-02-14 11:12:43 +0100
committerJean-Francois Moine <moinejf@free.fr>2009-02-14 11:12:43 +0100
commitf957f39eafc6f6d168d3ae4f61f7a15a29cee6c8 (patch)
tree19db0887def3bf12dd92679fc773ba53fc100be6 /v4l2-apps/libv4l/README.multi-threading
parentd0ee609e50f6eba78db4783e1374311be2e38ea5 (diff)
parentadff0f37dc0f0ab48850eaad267223c634e975a2 (diff)
downloadmediapointer-dvb-s2-f957f39eafc6f6d168d3ae4f61f7a15a29cee6c8.tar.gz
mediapointer-dvb-s2-f957f39eafc6f6d168d3ae4f61f7a15a29cee6c8.tar.bz2
merge: v4l-dvb
Diffstat (limited to 'v4l2-apps/libv4l/README.multi-threading')
-rw-r--r--v4l2-apps/libv4l/README.multi-threading12
1 files changed, 12 insertions, 0 deletions
diff --git a/v4l2-apps/libv4l/README.multi-threading b/v4l2-apps/libv4l/README.multi-threading
new file mode 100644
index 000000000..93b393c8c
--- /dev/null
+++ b/v4l2-apps/libv4l/README.multi-threading
@@ -0,0 +1,12 @@
+libv4lconvert is not safe for using one convert instance as returned by
+v4lconvert_create from multiple threads, if you want to use one v4lconvert
+instance from multiple threads you must provide your own locking and make
+sure no simultanious calls are made.
+
+libv4l1 and libv4l2 are safe for multithread use *under* *the* *following*
+*conditions* :
+
+* when using v4lx_fd_open, do not make any v4lx_ calls to the passed fd until
+ v4lx_fd_open has completed
+
+* all v4lx_ calls must be completed before calling v4lx_close