Re: [PATCH/RFC v2 1/2] v4l2grab: Add threaded producer/consumer option

2014-06-16 Thread Hans Verkuil
On 06/09/2014 03:51 PM, Thiago Santos wrote: Adds options to allow the buffer dqbuf to happen on one thread while the qbuf happens on another. This is useful to test concurrency access to the v4l2 features. To enable this, 3 new options were added: t: enable threaded mode (off by default and

[PATCH/RFC v2 1/2] v4l2grab: Add threaded producer/consumer option

2014-06-09 Thread Thiago Santos
Adds options to allow the buffer dqbuf to happen on one thread while the qbuf happens on another. This is useful to test concurrency access to the v4l2 features. To enable this, 3 new options were added: t: enable threaded mode (off by default and will use the loop) b: enable blocking io mode