I couldn't find any mention of the thread safety characteristics of V4L2, except for this e-mail from 2008. It talks about the big kernel lock, which I guess is gone now, right?
Does anybody have any updated information on this? Can I ioctl
(I'm thinking especially about VIDIOC_DQBUF
and VIDIOC_QBUF
) the same V4L2 file descriptor from multiple threads without serialization? The discussion cited above does seem to indicate that the answer is driver-dependent, but I thought I'd ask anyway.