summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l/README.multi-threading
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-02-13 18:33:35 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-02-13 18:33:35 -0200
commitf25ebd42bbb82866dfbbba5b7bfc651315fa6416 (patch)
tree9057c87b456d0eedee6844ddfe0b17acbea29c40 /v4l2-apps/libv4l/README.multi-threading
parente5a5404bb87498cd9b8009d407e1de1b2bbea611 (diff)
parenta568e1259223dd4229419a5ea7fd44f757dbd265 (diff)
downloadmediapointer-dvb-s2-f25ebd42bbb82866dfbbba5b7bfc651315fa6416.tar.gz
mediapointer-dvb-s2-f25ebd42bbb82866dfbbba5b7bfc651315fa6416.tar.bz2
merge: http://linuxtv.org/hg/~dougsland/em28xx/
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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