- From: David Schleef <ds_at_schleef.org>
- Date: Fri, 11 Oct 2002 13:04:16 -0700
On Fri, Oct 11, 2002 at 06:19:25AM -0700, rhk_at_newimage.com wrote: > And that's what is happening. I increased the rate that I was triggering > the analog output and it was stopping every 10 seconds. I tried the same > program with one of the CPUs disabled, and it ran fine overnight. I think > the windowed register access needs a spinlock. I'm going to try that this > morning to see if it fixes the problem, and if the performance is still > acceptable. I was able to duplicate the same problem here by running 'comedi_test -t cmd_continuous' and repeatedly running 'comedi_test' in another window. Fixing the win_in() and win_out() macros to properly spinlock seems to fix it. It conflicts with some other code that is spinlocking, but that stuff is wrong anyway. I'll check it in to CVS after I make sure it works on UP. dave...
Received on 2002-10-11Z19:04:16