Wolfram.Gloger@xxxxxxxxxxxxxxxxxxxxxxxx writes: > > is returned (coordination of users at the same level is outside of the > > scope of this proposal, as it is dealt with differently between levels.) > > In my opinion, this concept can be implemented completely in user > space, without any kernel changes. Any process can find out which > processes are using /dev/video (check how 'fuser' does it). This adds a race window. Between looking for /dev/video users and invoking the ioctl another application might have opened the device. IMHO you can't fix that race with a pure userspace implementation. > Once you have a list of the processes, you could check a text file or > database or whatever which maps the process names (OK this is a small > restriction compared to your proposal) to priorities. All processes > that don't appear in the list get the default priority. That scheme requires cooperation from all applications. Gerd -- sigfault