761
General Mach Discussion / Re: Subroutine reps DRO?
« on: January 12, 2010, 12:21:03 AM »hmmmm - don't think this is the reason for this though ray. I tried this with a sub that took several seconds per iteration and the dro registered nothing. Yet with a dwell of just 1 ms all worked fine.
Cheers
Ian
That suggests it has something to do with the threading, and inserting a Sleep 1 would probably also work just as well. All you need is something that forces a context switch, however briefly, back to the Mach foreground task to get the DROs updated.
Regards,
Ray L.