From: Ramon <ramoncostacastello@domain.hid>
To: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] periodical task in posix skin
Date: Tue, 24 Aug 2010 15:16:57 +0200 [thread overview]
Message-ID: <4C73C649.1030908@domain.hid> (raw)
Hi,
I'm sorry in my previous email I made an error.
If I use
clock_gettime ( TIMER_ABSTIME, &now);
now.tv_nsec=now.tv_nsec+PERIOD;
out=pthread_make_periodic_np (pthread_self(), &now,&period);
......
it always says that "the start time has already passed\n". Differently
if I use
clock_gettime ( CLOCK_REALTIME, &now);
now.tv_nsec=now.tv_nsec+PERIOD;
out=pthread_make_periodic_np (pthread_self(), &now,&period);
everything works fine.
Ramon
next reply other threads:[~2010-08-24 13:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-24 13:16 Ramon [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-08-23 18:59 [Xenomai-help] periodical task in posix skin ramon costa
2010-08-23 20:23 ` Gilles Chanteperdrix
2010-08-24 10:25 ` ramon costa
2010-08-24 12:13 ` Gilles Chanteperdrix
2010-08-24 13:09 ` Ramon
2010-08-24 13:11 ` 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=4C73C649.1030908@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.