[PATCH/RFC v2 0/2] libv4l2: fix deadlock when DQBUF in block mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

thanks for the reviews and comments. I updated the example as suggested by
Mauro and reimplemented the deadlock fix as suggested by Hans. Here is the
second version of those patches.

Thiago Santos (2):
  v4l2grab: Add threaded producer/consumer option
  libv4l2: release the lock before doing a DQBUF

 contrib/test/Makefile.am   |   2 +-
 contrib/test/v4l2grab.c    | 261 +++++++++++++++++++++++++++++++++++++--------
 lib/libv4l2/libv4l2-priv.h |   1 +
 lib/libv4l2/libv4l2.c      |  13 ++-
 4 files changed, 232 insertions(+), 45 deletions(-)

-- 
2.0.0

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux