Re: Coordinating concurrent users of v4l2 devices

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



Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx> writes:

> > Look at the floppy driver.  Having O_EXCL support is just a few lines
> > in the drivers open handler.
> 
> No, I mean bloated at an application level (if you have to reopen the
> device for certain things), so I wanted to make sure you didn't want to
> make this (opening O_EXCL) part of the API. ;-).

You have to reopen the device only if you need a different O_EXCL
state for different things like nxtvepg: for vbi capture it doesn't
care whenever someone else uses the same card to watch tv, but for
switching channels it does.  Most applications likely don't need this.

  Gerd

-- 
Weil die späten Diskussionen nicht mal mehr den Rotwein lohnen.
				-- Wacholder in "Melanie"





[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