Re: Which way could guarantee more precise delay?'rt_task_sleep' or 'rt_task_wait_period'?

2020-05-18 Thread Jan Kiszka via Xenomai
On 17.05.20 07:51, 孙世龙 via Xenomai wrote: Hi, I need to run a simpe routline periodically.For example, the routline needs to run every 1ms. Which way could guarantee more precise delay?'rt_task_sleep' or 'rt_task_wait_period'? If there is a better

Which way could guarantee more precise delay?'rt_task_sleep' or 'rt_task_wait_period'?

2020-05-16 Thread 孙世龙 via Xenomai
Hi, I need to run a simpe routline periodically.For example, the routline needs to run every 1ms. Which way could guarantee more precise delay?'rt_task_sleep' or 'rt_task_wait_period'? If there is a better solution,please let me know. Thank you f