Re: your mail

On Mon, Jul 08, 2002 at 07:43:39PM -0500, frank mori hess wrote:
> I don't understand.  Isn't comedi_lock() useless then?  The
> 
> if(s->lock && s->lock!=d)
> 
> will always be false.

No, it's not useless, it just doesn't lock the subdevice from
another real-time process.  That was never the intent.

You can get the same effect in user space by opening a device
and then forking.  Both processes will have the same file
pointer.



dave...

Received on 2002-07-08Z23:51:37