Sorry for talking so late in the discussion :-) The problem of using limited resources in a multi-user/tasking environment is not exactly new. Before you reinvent the wheel, you could look up some existing solutions. Just my 0.02 EUR Regards, David Gerd Knorr wrote: > > Tom Zoerner <tomzo@xxxxxxxxxx> writes: > > > But I do see that having two "record" levels might be confusing as > > you're not the first who asked about this :) > > http://bytesex.org/patches/2.5.72-2/ > > v4l2 patch has the priority stuff in, structs + ioctls in videodev2.h, > some helper functions in v4l2-common.c to keep patches for the drivers > small. Only three levels. Completely untested so far. Comments? > > The other changes this v4l2 patch has are fixes for the ioctl #defines > and new ENUM ioctls for AUDIO + AUDIOOUT. > > Gerd > -- David Balazic -------------- "Be excellent to each other." - Bill S. Preston, Esq., & "Ted" Theodore Logan - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -