From: 孙世龙 <sunshilong369@gmail.com>
To: xenomai <xenomai@xenomai.org>
Subject: Which way could guarantee more precise delay?'rt_task_sleep' or 'rt_task_wait_period'?
Date: Sun, 17 May 2020 13:51:06 +0800 [thread overview]
Message-ID: <CAAvDm6YKsKHNZ8+wTmYNTE6_67MQ8MhxvM9Z-_ockETQb5GHeA@mail.gmail.com> (raw)
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.
next reply other threads:[~2020-05-17 5:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-17 5:51 孙世龙 [this message]
2020-05-18 9:02 ` Which way could guarantee more precise delay?'rt_task_sleep' or 'rt_task_wait_period'? Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAvDm6YKsKHNZ8+wTmYNTE6_67MQ8MhxvM9Z-_ockETQb5GHeA@mail.gmail.com \
--to=sunshilong369@gmail.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.