From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 From: =?UTF-8?B?5a2Z5LiW6b6Z?= Date: Sun, 17 May 2020 13:51:06 +0800 Message-ID: Subject: Which way could guarantee more precise delay?'rt_task_sleep' or 'rt_task_wait_period'? Content-Type: text/plain; charset="UTF-8" List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 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 for attention to this matter. Look forward to hearing from you.