- From: frank mori hess <fmhess_at_students.uiuc.edu>
- Date: Mon, 8 Jul 2002 19:29:38 -0500 (CDT)
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