v4l2 framework in a multiple thread environment

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

 



Hi,

I am writing a driver using v4l2 framework. I want to know does v4l2
framework make my driver thread-safe?
What if multiple threads try to
* open the driver
* enqueue/dequeue buffer
* run device_run
at the same time. Do I need to add mutex myself? Of all the hooks I
provide to v4l2  framework is already thread-safe?

Thank you.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux