summaryrefslogtreecommitdiff
path: root/v4l2-apps/lib/libv4l/README.multi-threading
diff options
context:
space:
mode:
authorThierry MERLE <thierry.merle@free.fr>2008-07-01 21:18:23 +0200
committerThierry MERLE <thierry.merle@free.fr>2008-07-01 21:18:23 +0200
commit10bc397f22cbd930c1d4d932ec929979d75865b1 (patch)
treeede1765562d9ef8eaed11818ab9f97be490559f7 /v4l2-apps/lib/libv4l/README.multi-threading
parent1e8ee38c5ab44a4b296a8d47c22691d82e7515be (diff)
downloadmediapointer-dvb-s2-10bc397f22cbd930c1d4d932ec929979d75865b1.tar.gz
mediapointer-dvb-s2-10bc397f22cbd930c1d4d932ec929979d75865b1.tar.bz2
v4l2-library: global files
From: Hans de Goede <j.w.r.degoede at hhs.nl> Global files to make the libv4l compile, install and exported into a tar.gz file Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Diffstat (limited to 'v4l2-apps/lib/libv4l/README.multi-threading')
-rw-r--r--v4l2-apps/lib/libv4l/README.multi-threading12
1 files changed, 12 insertions, 0 deletions
diff --git a/v4l2-apps/lib/libv4l/README.multi-threading b/v4l2-apps/lib/libv4l/README.multi-threading
new file mode 100644
index 000000000..93b393c8c
--- /dev/null
+++ b/v4l2-apps/lib/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