From 10bc397f22cbd930c1d4d932ec929979d75865b1 Mon Sep 17 00:00:00 2001 From: Thierry MERLE Date: Tue, 1 Jul 2008 21:18:23 +0200 Subject: v4l2-library: global files From: Hans de Goede Global files to make the libv4l compile, install and exported into a tar.gz file Signed-off-by: Hans de Goede Signed-off-by: Thierry MERLE --- v4l2-apps/lib/libv4l/README.multi-threading | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 v4l2-apps/lib/libv4l/README.multi-threading (limited to 'v4l2-apps/lib/libv4l/README.multi-threading') 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 -- cgit v1.2.3