(no subject)

Dave,

It seems to me that comedi_lock() in kcomedilib is currently broken, due
to the fact that the comedi_t values are not unique.  Two processes that
open the same device will receive as their comedi_t pointer the same
address to the same comedi_device.  I suppose we could have comedi_open
allocate a struct each time it is called and return the struct's address
as the comedi_t.  The struct would contain the appropriate comedi_device
pointer, and all the allocated structs could be stored in a list.

Frank

Received on 2002-07-08Z23:29:38