Re: Coordinating concurrent users of v4l2 devices

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



> One way to fix it would be to add a "how many users has this device"
> ioctl.  That would be simple and likely do the job in most cases, but
> it also introduces races which isn't that nice.

Umm, no need to add an ioctl for this, just look at how "fuser"
does this in a generic way (ok assuming /proc is mounted).

Regards,
Wolfram.





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux