From: Ramon <ramoncostacastello@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] rt_task_set_periodic
Date: Mon, 14 Jun 2010 20:20:29 +0200 [thread overview]
Message-ID: <4C1672ED.4080101@domain.hid> (raw)
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
Hi,
I'm beginning to work with periodical task in xenomai. Currently I'm
using rt_task_set_periodic.
The third parameter RTIME period allows to specify the period in clock
ticks (taken from :
http://www.xenomai.org/documentation/xenomai-2.5/html/api/group__task.html).
I would like to know how can I get information from the clock tick
(which is the value? , can be changed ?) ?
Why Is the minimum period I can use in user space ? (experimentally it
seems to be 0.1ms in my system)
Working in kernel space this period is lower ?
When using the POSIX skin
int pthread_make_periodic_np ( pthread_t thread,struct
timespec * starttp,struct timespec * periodtp )
the resolution is the same ? (performance will be the same ?)
Is there any simple approach to develop a periodic task using the POSIX
commands (pthread_cond_timedwait
<group__posix__cond.html#gfc43955fc3f1cb43723a9e0be19d0ad1> ?) ?
Thank you in advance
Ramon
[-- Attachment #2: Type: text/html, Size: 2112 bytes --]
next reply other threads:[~2010-06-14 18:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-14 18:20 Ramon [this message]
2010-06-14 19:15 ` [Xenomai-help] rt_task_set_periodic Gilles Chanteperdrix
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=4C1672ED.4080101@domain.hid \
--to=ramoncostacastello@domain.hid \
--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.