From: Theo Veenker <Theo.Veenker@domain.hid>
To: Xenomai <xenomai@xenomai.org>
Subject: [Xenomai-help] CLOCK_REALTIME initialization
Date: Thu, 22 Nov 2007 09:41:22 +0100 [thread overview]
Message-ID: <474540B2.9050208@domain.hid> (raw)
Hi,
I understand in the Xenomai posix skin CLOCK_REALTIME gets initialized
on startup of the system and then left alone. There is a problem if the
system's hwclock is storing local time as opposed to UTC. In this case
the Xenomai clock gets initialized with local time instead of UTC.
I use local time in the hwclock because my systems are dual-boot with
MS Windows XP and XP aparently still can't properly deal with hwclock
set to UTC.
What I would like to do is tell Xenomai to reinitialize CLOCK_REALTIME
at some point *after* Linux has initialized its own clock from the
hwclock. As clock_settime() isn't yet supported (in 2.3) I can't do
this now. Will it be in 2.5, or is there at present another way of
reinitializing CLOCK_REALTIME?
Regards,
Theo
next reply other threads:[~2007-11-22 8:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-22 8:41 Theo Veenker [this message]
2007-11-22 10:02 ` [Xenomai-help] CLOCK_REALTIME initialization Gilles Chanteperdrix
2007-11-22 11:23 ` Theo Veenker
2007-11-23 10:14 ` Gilles Chanteperdrix
2007-11-23 14:19 ` Theo Veenker
2007-11-23 14:41 ` Gilles Chanteperdrix
2007-11-23 16:17 ` Theo Veenker
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=474540B2.9050208@domain.hid \
--to=theo.veenker@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.