Re: [etherlab-users] Multi-threading and calling the cyclic task issue

2016-01-28 Thread Dusty Clark
I had this 10mS cycle time issue with a multithreaded application awhile back. Turned out the kernel was built with 100Hz base ticks, not 1kHz. Do "cat /proc/timer_list" and have a look at the available timer resolutions on your system, pause() can't work at any lower resolution than the kernel ti

Re: [etherlab-users] Multi-threading and calling the cyclic task issue

2016-01-28 Thread Paul Mulligan
Hi, No, the sleeps don't seem to wait more than 10ms. No matter what value I put there greater than 10 ms, the cyclic_task() is being executed around 10ms. I have also digital outputs toggling in the cyclic_task() and the output frequency on oscilloscope is always around 50Hz. This I find quite